syncthing/vendor/golang.org/x/net/ipv6/zsys_solaris.go
Jakob Borg 65aaa607ab Use Go 1.5 vendoring instead of Godeps
Change made by:

- running "gvt fetch" on each of the packages mentioned in
  Godeps/Godeps.json
- `rm -rf Godeps`
- tweaking the build scripts to not mention Godeps
- tweaking the build scripts to test `./lib/...`, `./cmd/...` explicitly
  (to avoid testing vendor)
- tweaking the build scripts to not juggle GOPATH for Godeps and instead
  set GO15VENDOREXPERIMENT.

This also results in some updated packages at the same time I bet.

Building with Go 1.3 and 1.4 still *works* but won't use our vendored
dependencies - the user needs to have the actual packages in their
GOPATH then, which they'll get with a normal "go get". Building with Go
1.6+ will get our vendored dependencies by default even when not using
our build script, which is nice.

By doing this we gain some freedom in that we can pick and choose
manually what to include in vendor, as it's not based on just dependency
analysis of our own code. This is also a risk as we might pick up
dependencies we are unaware of, as the build may work locally with those
packages present in GOPATH. On the other hand the build server will
detect this as it has no packages in it's GOPATH beyond what is included
in the repo.

Recommended tool to manage dependencies is github.com/FiloSottile/gvt.
2016-03-05 21:21:24 +01:00

106 lines
2.1 KiB
Go

// Created by cgo -godefs - DO NOT EDIT
// cgo -godefs defs_solaris.go
// +build solaris
package ipv6
const (
sysIPV6_UNICAST_HOPS = 0x5
sysIPV6_MULTICAST_IF = 0x6
sysIPV6_MULTICAST_HOPS = 0x7
sysIPV6_MULTICAST_LOOP = 0x8
sysIPV6_JOIN_GROUP = 0x9
sysIPV6_LEAVE_GROUP = 0xa
sysIPV6_PKTINFO = 0xb
sysIPV6_HOPLIMIT = 0xc
sysIPV6_NEXTHOP = 0xd
sysIPV6_HOPOPTS = 0xe
sysIPV6_DSTOPTS = 0xf
sysIPV6_RTHDR = 0x10
sysIPV6_RTHDRDSTOPTS = 0x11
sysIPV6_RECVPKTINFO = 0x12
sysIPV6_RECVHOPLIMIT = 0x13
sysIPV6_RECVHOPOPTS = 0x14
sysIPV6_RECVRTHDR = 0x16
sysIPV6_RECVRTHDRDSTOPTS = 0x17
sysIPV6_CHECKSUM = 0x18
sysIPV6_RECVTCLASS = 0x19
sysIPV6_USE_MIN_MTU = 0x20
sysIPV6_DONTFRAG = 0x21
sysIPV6_SEC_OPT = 0x22
sysIPV6_SRC_PREFERENCES = 0x23
sysIPV6_RECVPATHMTU = 0x24
sysIPV6_PATHMTU = 0x25
sysIPV6_TCLASS = 0x26
sysIPV6_V6ONLY = 0x27
sysIPV6_RECVDSTOPTS = 0x28
sysIPV6_PREFER_SRC_HOME = 0x1
sysIPV6_PREFER_SRC_COA = 0x2
sysIPV6_PREFER_SRC_PUBLIC = 0x4
sysIPV6_PREFER_SRC_TMP = 0x8
sysIPV6_PREFER_SRC_NONCGA = 0x10
sysIPV6_PREFER_SRC_CGA = 0x20
sysIPV6_PREFER_SRC_MIPMASK = 0x3
sysIPV6_PREFER_SRC_MIPDEFAULT = 0x1
sysIPV6_PREFER_SRC_TMPMASK = 0xc
sysIPV6_PREFER_SRC_TMPDEFAULT = 0x4
sysIPV6_PREFER_SRC_CGAMASK = 0x30
sysIPV6_PREFER_SRC_CGADEFAULT = 0x10
sysIPV6_PREFER_SRC_MASK = 0x3f
sysIPV6_PREFER_SRC_DEFAULT = 0x15
sysIPV6_BOUND_IF = 0x41
sysIPV6_UNSPEC_SRC = 0x42
sysICMP6_FILTER = 0x1
sysSizeofSockaddrInet6 = 0x20
sysSizeofInet6Pktinfo = 0x14
sysSizeofIPv6Mtuinfo = 0x24
sysSizeofIPv6Mreq = 0x14
sysSizeofICMPv6Filter = 0x20
)
type sysSockaddrInet6 struct {
Family uint16
Port uint16
Flowinfo uint32
Addr [16]byte /* in6_addr */
Scope_id uint32
X__sin6_src_id uint32
}
type sysInet6Pktinfo struct {
Addr [16]byte /* in6_addr */
Ifindex uint32
}
type sysIPv6Mtuinfo struct {
Addr sysSockaddrInet6
Mtu uint32
}
type sysIPv6Mreq struct {
Multiaddr [16]byte /* in6_addr */
Interface uint32
}
type sysICMPv6Filter struct {
X__icmp6_filt [8]uint32
}