Files
.examples
.github
alerting
client
config
controller
core
docs
jsonpath
metrics
pattern
security
storage
test
util
vendor
github.com
golang.org
x
crypto
image
mod
net
bpf
context
icmp
internal
iana
socket
cmsghdr.go
cmsghdr_bsd.go
cmsghdr_linux_32bit.go
cmsghdr_linux_64bit.go
cmsghdr_solaris_64bit.go
cmsghdr_stub.go
cmsghdr_unix.go
cmsghdr_zos_s390x.go
complete_dontwait.go
complete_nodontwait.go
empty.s
error_unix.go
error_windows.go
iovec_32bit.go
iovec_64bit.go
iovec_solaris_64bit.go
iovec_stub.go
mmsghdr_stub.go
mmsghdr_unix.go
msghdr_bsd.go
msghdr_bsdvar.go
msghdr_linux.go
msghdr_linux_32bit.go
msghdr_linux_64bit.go
msghdr_openbsd.go
msghdr_solaris_64bit.go
msghdr_stub.go
msghdr_zos_s390x.go
norace.go
race.go
rawconn.go
rawconn_mmsg.go
rawconn_msg.go
rawconn_nommsg.go
rawconn_nomsg.go
socket.go
sys.go
sys_bsd.go
sys_const_unix.go
sys_linux.go
sys_linux_386.go
sys_linux_386.s
sys_linux_amd64.go
sys_linux_arm.go
sys_linux_arm64.go
sys_linux_mips.go
sys_linux_mips64.go
sys_linux_mips64le.go
sys_linux_mipsle.go
sys_linux_ppc.go
sys_linux_ppc64.go
sys_linux_ppc64le.go
sys_linux_riscv64.go
sys_linux_s390x.go
sys_linux_s390x.s
sys_netbsd.go
sys_posix.go
sys_stub.go
sys_unix.go
sys_windows.go
sys_zos_s390x.go
sys_zos_s390x.s
zsys_aix_ppc64.go
zsys_darwin_386.go
zsys_darwin_amd64.go
zsys_darwin_arm.go
zsys_darwin_arm64.go
zsys_dragonfly_amd64.go
zsys_freebsd_386.go
zsys_freebsd_amd64.go
zsys_freebsd_arm.go
zsys_freebsd_arm64.go
zsys_linux_386.go
zsys_linux_amd64.go
zsys_linux_arm.go
zsys_linux_arm64.go
zsys_linux_mips.go
zsys_linux_mips64.go
zsys_linux_mips64le.go
zsys_linux_mipsle.go
zsys_linux_ppc.go
zsys_linux_ppc64.go
zsys_linux_ppc64le.go
zsys_linux_riscv64.go
zsys_linux_s390x.go
zsys_netbsd_386.go
zsys_netbsd_amd64.go
zsys_netbsd_arm.go
zsys_netbsd_arm64.go
zsys_openbsd_386.go
zsys_openbsd_amd64.go
zsys_openbsd_arm.go
zsys_openbsd_arm64.go
zsys_openbsd_mips64.go
zsys_solaris_amd64.go
zsys_zos_s390x.go
ipv4
ipv6
AUTHORS
CONTRIBUTORS
LICENSE
PATENTS
oauth2
sync
sys
tools
xerrors
google.golang.org
gopkg.in
lukechampine.com
modernc.org
modules.txt
watchdog
web
.dockerignore
.gitattributes
.gitignore
Dockerfile
LICENSE
Makefile
README.md
config.yaml
go.mod
go.sum
main.go
gatus/vendor/golang.org/x/net/internal/socket/cmsghdr.go
2021-10-03 22:15:20 -04:00

13 lines
499 B
Go

// Copyright 2017 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.
//go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris || zos
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris zos
package socket
func (h *cmsghdr) len() int { return int(h.Len) }
func (h *cmsghdr) lvl() int { return int(h.Level) }
func (h *cmsghdr) typ() int { return int(h.Type) }