package syscall
Import Path
syscall (on go.dev)
Dependency Relation
imports 9 packages, and imported by 9 packages
Involved Source Files
asan0.go
dirent.go
endian_little.go
env_unix.go
exec_linux.go
exec_unix.go
flock.go
forkpipe2.go
lsf_linux.go
msan0.go
net.go
netlink_linux.go
rlimit.go
rlimit_stub.go
setuidgid_linux.go
sockcmsg_linux.go
sockcmsg_unix.go
sockcmsg_unix_other.go
Package syscall contains an interface to the low-level operating system
primitives. The details vary depending on the underlying system, and
by default, godoc will display the syscall documentation for the current
system. If you want godoc to display syscall 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 syscall 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 is an operating system error describing the failure.
On most systems, that error has type syscall.Errno.
Deprecated: this package is locked down. Callers should use the
corresponding package in the golang.org/x/sys repository instead.
That is also where updates required by new systems or versions
should be applied. See https://golang.org/s/go1.4-syscall for more
information.
syscall_linux.go
syscall_linux_accept4.go
syscall_linux_amd64.go
syscall_unix.go
time_nofake.go
timestruct.go
zerrors_linux_amd64.go
zsyscall_linux_amd64.go
zsysnum_linux_amd64.go
ztypes_linux_amd64.go
asm_linux_amd64.s
Package-Level Type Names (total 84, in which 71 are exported)
Len uint64
Level int32
Type int32
(*Cmsghdr) SetLen(length int)
(*Cmsghdr) data(offset uintptr) unsafe.Pointer
func socketControlMessageHeaderAndData(b []byte) (*Cmsghdr, []byte, error)
Conn is implemented by some types in the net and os packages to provide
access to the underlying file descriptor or handle.
SyscallConn returns a raw network connection.
*net.IPConn
*net.TCPConn
*net.TCPListener
*net.UDPConn
*net.UnixConn
*net.UnixListener
*os.File
os.fileWithoutReadFrom
Credential holds user and group identities to be assumed
by a child process started by StartProcess.
// Group ID.
// Supplementary group IDs.
// If true, don't set supplementary groups
// User ID.
Events uint32
Fd int32
Pad int32
func EpollCtl(epfd int, op int, fd int, event *EpollEvent) (err error)
func EpollWait(epfd int, events []EpollEvent, msec int) (n int, err error)
An Errno is an unsigned number describing an error condition.
It implements the error interface. The zero Errno is by convention
a non-error, so code to convert from Errno to error should use:
err = nil
if errno != 0 {
err = errno
}
Errno values can be tested against error values using errors.Is.
For example:
_, _, err := syscall.Syscall(...)
if errors.Is(err, fs.ErrNotExist) ...
( Errno) Error() string
( Errno) Is(target error) bool
( Errno) Temporary() bool
( Errno) Timeout() bool
Errno : error
Errno : net.Error
Errno : net.temporary
Errno : net.timeout
Errno : os.timeout
func AllThreadsSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func AllThreadsSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func Syscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno)
func forkAndExecInChild1(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid uintptr, err1 Errno, mapPipe [2]int, locked bool)
func gettimeofday(tv *Timeval) (err Errno)
func rawSetrlimit(resource int, rlim *Rlimit) Errno
func rawVforkSyscall(trap, a1, a2 uintptr) (r1 uintptr, err Errno)
func errnoErr(e Errno) error
func internal/poll.errnoErr(e Errno) error
const E2BIG
const EACCES
const EADDRINUSE
const EADDRNOTAVAIL
const EADV
const EAFNOSUPPORT
const EAGAIN
const EALREADY
const EBADE
const EBADF
const EBADFD
const EBADMSG
const EBADR
const EBADRQC
const EBADSLT
const EBFONT
const EBUSY
const ECANCELED
const ECHILD
const ECHRNG
const ECOMM
const ECONNABORTED
const ECONNREFUSED
const ECONNRESET
const EDEADLK
const EDEADLOCK
const EDESTADDRREQ
const EDOM
const EDOTDOT
const EDQUOT
const EEXIST
const EFAULT
const EFBIG
const EHOSTDOWN
const EHOSTUNREACH
const EIDRM
const EILSEQ
const EINPROGRESS
const EINTR
const EINVAL
const EIO
const EISCONN
const EISDIR
const EISNAM
const EKEYEXPIRED
const EKEYREJECTED
const EKEYREVOKED
const EL2HLT
const EL2NSYNC
const EL3HLT
const EL3RST
const ELIBACC
const ELIBBAD
const ELIBEXEC
const ELIBMAX
const ELIBSCN
const ELNRNG
const ELOOP
const EMEDIUMTYPE
const EMFILE
const EMLINK
const EMSGSIZE
const EMULTIHOP
const ENAMETOOLONG
const ENAVAIL
const ENETDOWN
const ENETRESET
const ENETUNREACH
const ENFILE
const ENOANO
const ENOBUFS
const ENOCSI
const ENODATA
const ENODEV
const ENOENT
const ENOEXEC
const ENOKEY
const ENOLCK
const ENOLINK
const ENOMEDIUM
const ENOMEM
const ENOMSG
const ENONET
const ENOPKG
const ENOPROTOOPT
const ENOSPC
const ENOSR
const ENOSTR
const ENOSYS
const ENOTBLK
const ENOTCONN
const ENOTDIR
const ENOTEMPTY
const ENOTNAM
const ENOTRECOVERABLE
const ENOTSOCK
const ENOTSUP
const ENOTTY
const ENOTUNIQ
const ENXIO
const EOPNOTSUPP
const EOVERFLOW
const EOWNERDEAD
const EPERM
const EPFNOSUPPORT
const EPIPE
const EPROTO
const EPROTONOSUPPORT
const EPROTOTYPE
const ERANGE
const EREMCHG
const EREMOTE
const EREMOTEIO
const ERESTART
const ERFKILL
const EROFS
const ESHUTDOWN
const ESOCKTNOSUPPORT
const ESPIPE
const ESRCH
const ESRMNT
const ESTALE
const ESTRPIPE
const ETIME
const ETIMEDOUT
const ETOOMANYREFS
const ETXTBSY
const EUCLEAN
const EUNATCH
const EUSERS
const EWOULDBLOCK
const EXDEV
const EXFULL
Bits [16]int64
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
Len int64
Pad_cgo_0 [4]byte
Pad_cgo_1 [4]byte
Pid int32
Start int64
Type int16
Whence int16
func FcntlFlock(fd uintptr, cmd int, lk *Flock_t) error
Data [8]uint32
func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error)
func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error
Family uint8
Flags uint8
Index uint32
Prefixlen uint8
Scope uint8
func net.newAddr(ifam *IfAddrmsg, attrs []NetlinkRouteAttr) net.Addr
Change uint32
Family uint8
Flags uint32
Index int32
Type uint16
X__ifi_pad uint8
func net.newLink(ifim *IfInfomsg, attrs []NetlinkRouteAttr) *net.Interface
Base *byte
Len uint64
(*Iovec) SetLen(length int)
func internal/poll.newIovecWithBase(base *byte) Iovec
func internal/poll.writev(fd int, iovecs []Iovec) (uintptr, error)
// in_addr
// in_addr
func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error)
func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error)
func internal/poll.(*FD).SetsockoptIPMreq(level, name int, mreq *IPMreq) error
func net.setIPv4MreqToInterface(mreq *IPMreq, ifi *net.Interface) error
// in_addr
Ifindex int32
// in_addr
func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error)
func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error)
func internal/poll.(*FD).SetsockoptIPMreqn(level, name int, mreq *IPMreqn) error
Interface uint32
// in6_addr
func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error)
func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error)
func internal/poll.(*FD).SetsockoptIPv6Mreq(level, name int, mreq *IPv6Mreq) error
Addr RawSockaddrInet6
Mtu uint32
func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error)
Linger int32
Onoff int32
func SetsockoptLinger(fd, level, opt int, l *Linger) (err error)
func internal/poll.(*FD).SetsockoptLinger(level, name int, l *Linger) error
Control *byte
Controllen uint64
Flags int32
Iov *Iovec
Iovlen uint64
Name *byte
Namelen uint32
Pad_cgo_0 [4]byte
Pad_cgo_1 [4]byte
(*Msghdr) SetControllen(length int)
func recvmsg(s int, msg *Msghdr, flags int) (n int, err error)
func sendmsg(s int, msg *Msghdr, flags int) (n int, err error)
NetlinkMessage represents a netlink message.
Data []byte
Header NlMsghdr
func ParseNetlinkMessage(b []byte) ([]NetlinkMessage, error)
func ParseNetlinkRouteAttr(m *NetlinkMessage) ([]NetlinkRouteAttr, error)
func net.addrTable(ift []net.Interface, ifi *net.Interface, msgs []NetlinkMessage) ([]net.Addr, error)
NetlinkRouteAttr represents a netlink route attribute.
Attr RtAttr
Value []byte
func ParseNetlinkRouteAttr(m *NetlinkMessage) ([]NetlinkRouteAttr, error)
func net.newAddr(ifam *IfAddrmsg, attrs []NetlinkRouteAttr) net.Addr
func net.newLink(ifim *IfInfomsg, attrs []NetlinkRouteAttr) *net.Interface
NetlinkRouteRequest represents a request message to receive routing
and link states from the kernel.
Data RtGenmsg
Header NlMsghdr
(*NetlinkRouteRequest) toWireFormat() []byte
Flags uint16
Len uint32
Pid uint32
Seq uint32
Type uint16
func netlinkMessageHeaderAndData(b []byte) (*NlMsghdr, []byte, int, error)
ProcAttr holds attributes that will be applied to a new process started
by StartProcess.
// Current working directory.
// Environment.
// File descriptors.
Sys *SysProcAttr
func ForkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)
func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error)
func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno)
func forkAndExecInChild1(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid uintptr, err1 Errno, mapPipe [2]int, locked bool)
func forkExec(argv0 string, argv []string, attr *ProcAttr) (pid int, err error)
var zeroProcAttr
Cs uint64
Ds uint64
Eflags uint64
Es uint64
Fs uint64
Fs_base uint64
Gs uint64
Gs_base uint64
Orig_rax uint64
R10 uint64
R11 uint64
R12 uint64
R13 uint64
R14 uint64
R15 uint64
R8 uint64
R9 uint64
Rax uint64
Rbp uint64
Rbx uint64
Rcx uint64
Rdi uint64
Rdx uint64
Rip uint64
Rsi uint64
Rsp uint64
Ss uint64
(*PtraceRegs) PC() uint64
(*PtraceRegs) SetPC(pc uint64)
func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error)
func PtraceSetRegs(pid int, regs *PtraceRegs) (err error)
A RawConn is a raw network connection.
Control invokes f on the underlying connection's file
descriptor or handle.
The file descriptor fd is guaranteed to remain valid while
f executes but not after f returns.
Read invokes f on the underlying connection's file
descriptor or handle; f is expected to try to read from the
file descriptor.
If f returns true, Read returns. Otherwise Read blocks
waiting for the connection to be ready for reading and
tries again repeatedly.
The file descriptor is guaranteed to remain valid while f
executes but not after f returns.
Write is like Read but for writing.
*net.rawConn
*net.rawListener
*os.rawConn
func Conn.SyscallConn() (RawConn, error)
func net.(*IPConn).SyscallConn() (RawConn, error)
func net.(*TCPConn).SyscallConn() (RawConn, error)
func net.(*TCPListener).SyscallConn() (RawConn, error)
func net.(*UDPConn).SyscallConn() (RawConn, error)
func net.(*UnixConn).SyscallConn() (RawConn, error)
func net.(*UnixListener).SyscallConn() (RawConn, error)
func os.(*File).SyscallConn() (RawConn, error)
Addr RawSockaddr
Pad [96]int8
func accept4(s int, rsa *RawSockaddrAny, addrlen *_Socklen, flags int) (fd int, err error)
func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error)
func getpeername(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
func getsockname(fd int, rsa *RawSockaddrAny, addrlen *_Socklen) (err error)
func recvfrom(fd int, p []byte, flags int, from *RawSockaddrAny, fromlen *_Socklen) (n int, err error)
func recvmsgRaw(fd int, p, oob []byte, flags int, rsa *RawSockaddrAny) (n, oobn int, recvflags int, err error)
Cur uint64
Max uint64
func Getrlimit(resource int, rlim *Rlimit) (err error)
func Setrlimit(resource int, rlim *Rlimit) error
func adjustFileLimit(lim *Rlimit)
func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error)
func prlimit(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error)
func prlimit1(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error)
func prlimit1(pid int, resource int, newlimit *Rlimit, old *Rlimit) (err error)
func rawSetrlimit(resource int, rlim *Rlimit) Errno
func setrlimit(resource int, rlim *Rlimit) (err error)
Dst_len uint8
Family uint8
Flags uint32
Protocol uint8
Scope uint8
Src_len uint8
Table uint8
Tos uint8
Type uint8
Idrss int64
Inblock int64
Isrss int64
Ixrss int64
Majflt int64
Maxrss int64
Minflt int64
Msgrcv int64
Msgsnd int64
Nivcsw int64
Nsignals int64
Nswap int64
Nvcsw int64
Oublock int64
Stime Timeval
Utime Timeval
func Getrusage(who int, rusage *Rusage) (err error)
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error)
func wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
A Signal is a number describing a process signal.
It implements the os.Signal interface.
( Signal) Signal()
( Signal) String() string
Signal : fmt.Stringer
Signal : os.Signal
Signal : context.stringer
Signal : runtime.stringer
func WaitStatus.Signal() Signal
func WaitStatus.StopSignal() Signal
func Kill(pid int, sig Signal) (err error)
func Tgkill(tgid int, tid int, sig Signal) (err error)
const SIGABRT
const SIGALRM
const SIGBUS
const SIGCHLD
const SIGCLD
const SIGCONT
const SIGFPE
const SIGHUP
const SIGILL
const SIGINT
const SIGIO
const SIGIOT
const SIGKILL
const SIGPIPE
const SIGPOLL
const SIGPROF
const SIGPWR
const SIGQUIT
const SIGSEGV
const SIGSTKFLT
const SIGSTOP
const SIGSYS
const SIGTERM
const SIGTRAP
const SIGTSTP
const SIGTTIN
const SIGTTOU
const SIGUNUSED
const SIGURG
const SIGUSR1
const SIGUSR2
const SIGVTALRM
const SIGWINCH
const SIGXCPU
const SIGXFSZ
// lowercase; only we can define Sockaddrs
*SockaddrInet4
*SockaddrInet6
*SockaddrLinklayer
*SockaddrNetlink
*SockaddrUnix
func Accept(fd int) (nfd int, sa Sockaddr, err error)
func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error)
func Getpeername(fd int) (sa Sockaddr, err error)
func Getsockname(fd int) (sa Sockaddr, err error)
func Recvfrom(fd int, p []byte, flags int) (n int, from Sockaddr, err error)
func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error)
func internal/poll.(*FD).Accept() (int, Sockaddr, string, error)
func internal/poll.(*FD).ReadFrom(p []byte) (int, Sockaddr, error)
func internal/poll.(*FD).ReadMsg(p []byte, oob []byte, flags int) (int, int, int, Sockaddr, error)
func anyToSockaddr(rsa *RawSockaddrAny) (Sockaddr, error)
func internal/poll.accept(s int) (int, Sockaddr, string, error)
func net.ipToSockaddr(family int, ip net.IP, port int, zone string) (Sockaddr, error)
func net.(*IPAddr).sockaddr(family int) (Sockaddr, error)
func net.(*TCPAddr).sockaddr(family int) (Sockaddr, error)
func net.(*UDPAddr).sockaddr(family int) (Sockaddr, error)
func net.(*UnixAddr).sockaddr(family int) (Sockaddr, error)
func Bind(fd int, sa Sockaddr) (err error)
func Connect(fd int, sa Sockaddr) (err error)
func Sendmsg(fd int, p, oob []byte, to Sockaddr, flags int) (err error)
func SendmsgN(fd int, p, oob []byte, to Sockaddr, flags int) (n int, err error)
func Sendto(fd int, p []byte, flags int, to Sockaddr) (err error)
func internal/poll.(*FD).WriteMsg(p []byte, oob []byte, sa Sockaddr) (int, int, error)
func internal/poll.(*FD).WriteTo(p []byte, sa Sockaddr) (int, error)
func net.sockaddrToIP(sa Sockaddr) net.Addr
func net.sockaddrToTCP(sa Sockaddr) net.Addr
func net.sockaddrToUDP(sa Sockaddr) net.Addr
func net.sockaddrToUnix(sa Sockaddr) net.Addr
func net.sockaddrToUnixgram(sa Sockaddr) net.Addr
func net.sockaddrToUnixpacket(sa Sockaddr) net.Addr
Addr [4]byte
Port int
raw RawSockaddrInet4
(*SockaddrInet4) sockaddr() (unsafe.Pointer, _Socklen, error)
*SockaddrInet4 : Sockaddr
func net.addrPortToSockaddrInet4(ap netip.AddrPort) (SockaddrInet4, error)
func net.ipToSockaddrInet4(ip net.IP, port int) (SockaddrInet4, error)
func internal/poll.(*FD).ReadFromInet4(p []byte, from *SockaddrInet4) (int, error)
func internal/poll.(*FD).ReadMsgInet4(p []byte, oob []byte, flags int, sa4 *SockaddrInet4) (int, int, int, error)
func internal/poll.(*FD).WriteMsgInet4(p []byte, oob []byte, sa *SockaddrInet4) (int, int, error)
func internal/poll.(*FD).WriteToInet4(p []byte, sa *SockaddrInet4) (int, error)
func internal/syscall/unix.RecvfromInet4(fd int, p []byte, flags int, from *SockaddrInet4) (int, error)
func internal/syscall/unix.RecvmsgInet4(fd int, p, oob []byte, flags int, from *SockaddrInet4) (n, oobn int, recvflags int, err error)
func internal/syscall/unix.SendmsgNInet4(fd int, p, oob []byte, to *SockaddrInet4, flags int) (n int, err error)
func internal/syscall/unix.SendtoInet4(fd int, p []byte, flags int, to *SockaddrInet4) (err error)
func recvfromInet4(fd int, p []byte, flags int, from *SockaddrInet4) (n int, err error)
func recvmsgInet4(fd int, p, oob []byte, flags int, from *SockaddrInet4) (n, oobn int, recvflags int, err error)
func sendmsgNInet4(fd int, p, oob []byte, to *SockaddrInet4, flags int) (n int, err error)
func sendtoInet4(fd int, p []byte, flags int, to *SockaddrInet4) (err error)
Addr [16]byte
Port int
ZoneId uint32
raw RawSockaddrInet6
(*SockaddrInet6) sockaddr() (unsafe.Pointer, _Socklen, error)
*SockaddrInet6 : Sockaddr
func net.addrPortToSockaddrInet6(ap netip.AddrPort) (SockaddrInet6, error)
func net.ipToSockaddrInet6(ip net.IP, port int, zone string) (SockaddrInet6, error)
func internal/poll.(*FD).ReadFromInet6(p []byte, from *SockaddrInet6) (int, error)
func internal/poll.(*FD).ReadMsgInet6(p []byte, oob []byte, flags int, sa6 *SockaddrInet6) (int, int, int, error)
func internal/poll.(*FD).WriteMsgInet6(p []byte, oob []byte, sa *SockaddrInet6) (int, int, error)
func internal/poll.(*FD).WriteToInet6(p []byte, sa *SockaddrInet6) (int, error)
func internal/syscall/unix.RecvfromInet6(fd int, p []byte, flags int, from *SockaddrInet6) (n int, err error)
func internal/syscall/unix.RecvmsgInet6(fd int, p, oob []byte, flags int, from *SockaddrInet6) (n, oobn int, recvflags int, err error)
func internal/syscall/unix.SendmsgNInet6(fd int, p, oob []byte, to *SockaddrInet6, flags int) (n int, err error)
func internal/syscall/unix.SendtoInet6(fd int, p []byte, flags int, to *SockaddrInet6) (err error)
func recvfromInet6(fd int, p []byte, flags int, from *SockaddrInet6) (n int, err error)
func recvmsgInet6(fd int, p, oob []byte, flags int, from *SockaddrInet6) (n, oobn int, recvflags int, err error)
func sendmsgNInet6(fd int, p, oob []byte, to *SockaddrInet6, flags int) (n int, err error)
func sendtoInet6(fd int, p []byte, flags int, to *SockaddrInet6) (err error)
Addr [8]byte
Halen uint8
Hatype uint16
Ifindex int
Pkttype uint8
Protocol uint16
raw RawSockaddrLinklayer
(*SockaddrLinklayer) sockaddr() (unsafe.Pointer, _Socklen, error)
*SockaddrLinklayer : Sockaddr
Family uint16
Groups uint32
Pad uint16
Pid uint32
raw RawSockaddrNetlink
(*SockaddrNetlink) sockaddr() (unsafe.Pointer, _Socklen, error)
*SockaddrNetlink : Sockaddr
Name string
raw RawSockaddrUnix
(*SockaddrUnix) sockaddr() (unsafe.Pointer, _Socklen, error)
*SockaddrUnix : Sockaddr
SocketControlMessage represents a socket control message.
Data []byte
Header Cmsghdr
func ParseSocketControlMessage(b []byte) ([]SocketControlMessage, error)
func ParseUnixCredentials(m *SocketControlMessage) (*Ucred, error)
func ParseUnixRights(m *SocketControlMessage) ([]int, error)
Code uint16
Jf uint8
Jt uint8
K uint32
func LsfJump(code, k, jt, jf int) *SockFilter
func LsfStmt(code, k int) *SockFilter
func AttachLsf(fd int, i []SockFilter) error
Atim Timespec
Blksize int64
Blocks int64
Ctim Timespec
Dev uint64
Gid uint32
Ino uint64
Mode uint32
Mtim Timespec
Nlink uint64
Rdev uint64
Size int64
Uid uint32
X__pad0 int32
X__unused [3]int64
func Fstat(fd int, stat *Stat_t) (err error)
func Lstat(path string, stat *Stat_t) (err error)
func Stat(path string, stat *Stat_t) (err error)
func internal/poll.(*FD).Fstat(s *Stat_t) error
func internal/syscall/unix.Fstatat(dirfd int, path string, stat *Stat_t, flags int) error
func fstatat(fd int, path string, stat *Stat_t, flags int) (err error)
Bavail uint64
Bfree uint64
Blocks uint64
Bsize int64
Ffree uint64
Files uint64
Flags int64
Frsize int64
Fsid Fsid
Namelen int64
Spare [4]int64
Type int64
func Fstatfs(fd int, buf *Statfs_t) (err error)
func Statfs(path string, buf *Statfs_t) (err error)
Bufferram uint64
Freehigh uint64
Freeram uint64
Freeswap uint64
Loads [3]uint64
Pad uint16
Pad_cgo_0 [4]byte
Pad_cgo_1 [4]byte
Procs uint16
Sharedram uint64
Totalhigh uint64
Totalram uint64
Totalswap uint64
Unit uint32
Uptime int64
X_f [0]byte
func Sysinfo(info *Sysinfo_t) (err error)
// Ambient capabilities (Linux only)
// File descriptor of a cgroup to put the new process into.
// Chroot.
// Flags for clone calls (Linux only)
// Credential.
// Controlling TTY fd
Foreground places the child process group in the foreground.
This implies Setpgid. The Ctty field must be set to
the descriptor of the controlling TTY.
Unlike Setctty, in this case Ctty must be a descriptor
number in the parent process.
// Group ID mappings for user namespaces.
GidMappingsEnableSetgroups enabling setgroups syscall.
If false, then setgroups syscall will be disabled for the child process.
This parameter is no-op if GidMappings == nil. Otherwise for unprivileged
users this should be set to false for mappings work.
// Detach fd 0 from controlling terminal
Pdeathsig, if non-zero, is a signal that the kernel will send to
the child process when the creating thread dies. Note that the signal
is sent on thread termination, which may happen before process termination.
There are more details at https://go.dev/issue/27505.
// Child's process group ID if Setpgid.
Ptrace tells the child to call ptrace(PTRACE_TRACEME).
Call runtime.LockOSThread before starting a process with this set,
and don't call UnlockOSThread until done with PtraceSyscall calls.
Setctty sets the controlling terminal of the child to
file descriptor Ctty. Ctty must be a descriptor number
in the child process: an index into ProcAttr.Files.
This is only meaningful if Setsid is true.
Setpgid sets the process group ID of the child to Pgid,
or, if Pgid == 0, to the new child's process ID.
// Create session.
// User ID mappings for user namespaces.
// Whether to make use of the CgroupFD field.
func internal/syscall/execenv.Default(sys *SysProcAttr) ([]string, error)
func forkAndExecInChild(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid int, err Errno)
func forkAndExecInChild1(argv0 *byte, argv, envv []*byte, chroot, dir *byte, attr *ProcAttr, sys *SysProcAttr, pipe int) (pid uintptr, err1 Errno, mapPipe [2]int, locked bool)
func writeUidGidMappings(pid int, sys *SysProcAttr) error
var zeroSysProcAttr
SysProcIDMap holds Container ID to Host ID mappings used for User Namespaces in Linux.
See user_namespaces(7).
// Container ID.
// Host ID.
// Size.
func formatIDMappings(idMap []SysProcIDMap) []byte
func writeIDMappings(path string, idMap []SysProcIDMap) error
Advmss uint32
Ato uint32
Backoff uint8
Ca_state uint8
Fackets uint32
Last_ack_recv uint32
Last_ack_sent uint32
Last_data_recv uint32
Last_data_sent uint32
Lost uint32
Options uint8
Pad_cgo_0 [2]byte
Pmtu uint32
Probes uint8
Rcv_mss uint32
Rcv_rtt uint32
Rcv_space uint32
Rcv_ssthresh uint32
Reordering uint32
Retrans uint32
Retransmits uint8
Rto uint32
Rtt uint32
Rttvar uint32
Sacked uint32
Snd_cwnd uint32
Snd_mss uint32
Snd_ssthresh uint32
State uint8
Total_retrans uint32
Unacked uint32
Cc [32]uint8
Cflag uint32
Iflag uint32
Ispeed uint32
Lflag uint32
Line uint8
Oflag uint32
Ospeed uint32
Pad_cgo_0 [3]byte
Nsec int64
Sec int64
Nano returns the time stored in ts as nanoseconds.
Unix returns the time stored in ts as seconds plus nanoseconds.
func NsecToTimespec(nsec int64) Timespec
func setTimespec(sec, nsec int64) Timespec
func Nanosleep(time *Timespec, leftover *Timespec) (err error)
func Nanosleep(time *Timespec, leftover *Timespec) (err error)
func TimespecToNsec(ts Timespec) int64
func UtimesNano(path string, ts []Timespec) (err error)
func utimensat(dirfd int, path string, times *[2]Timespec, flag int) (err error)
Sec int64
Usec int64
Nano returns the time stored in tv as nanoseconds.
Unix returns the time stored in tv as seconds plus nanoseconds.
func NsecToTimeval(nsec int64) Timeval
func setTimeval(sec, usec int64) Timeval
func Futimes(fd int, tv []Timeval) (err error)
func Futimesat(dirfd int, path string, tv []Timeval) (err error)
func Gettimeofday(tv *Timeval) (err error)
func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error)
func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error)
func Settimeofday(tv *Timeval) (err error)
func TimevalToNsec(tv Timeval) int64
func Utimes(path string, tv []Timeval) (err error)
func futimesat(dirfd int, path string, times *[2]Timeval) (err error)
func gettimeofday(tv *Timeval) (err Errno)
func utimes(path string, times *[2]Timeval) (err error)
Calcnt int64
Constant int64
Errcnt int64
Esterror int64
Freq int64
Jitcnt int64
Jitter int64
Maxerror int64
Modes uint32
Offset int64
Pad_cgo_0 [4]byte
Pad_cgo_1 [4]byte
Pad_cgo_2 [4]byte
Pad_cgo_3 [44]byte
Ppsfreq int64
Precision int64
Shift int32
Stabil int64
Status int32
Stbcnt int64
Tai int32
Tick int64
Time Timeval
Tolerance int64
func Adjtimex(buf *Timex) (state int, err error)
Gid uint32
Pid int32
Uid uint32
func GetsockoptUcred(fd, level, opt int) (*Ucred, error)
func ParseUnixCredentials(m *SocketControlMessage) (*Ucred, error)
func UnixCredentials(ucred *Ucred) []byte
Fname [6]int8
Fpack [6]int8
Pad_cgo_0 [4]byte
Pad_cgo_1 [4]byte
Tfree int32
Tinode uint64
func Ustat(dev int, ubuf *Ustat_t) (err error)
Domainname [65]int8
Machine [65]int8
Nodename [65]int8
Release [65]int8
Sysname [65]int8
Version [65]int8
func Uname(buf *Utsname) (err error)
( WaitStatus) Continued() bool
( WaitStatus) CoreDump() bool
( WaitStatus) ExitStatus() int
( WaitStatus) Exited() bool
( WaitStatus) Signal() Signal
( WaitStatus) Signaled() bool
( WaitStatus) StopSignal() Signal
( WaitStatus) Stopped() bool
( WaitStatus) TrapCause() int
func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error)
Package-Level Functions (total 346, in which 231 are exported)
AllThreadsSyscall performs a syscall on each OS thread of the Go
runtime. It first invokes the syscall on one thread. Should that
invocation fail, it returns immediately with the error status.
Otherwise, it invokes the syscall on all of the remaining threads
in parallel. It will terminate the program if it observes any
invoked syscall's return value differs from that of the first
invocation.
AllThreadsSyscall is intended for emulating simultaneous
process-wide state changes that require consistently modifying
per-thread state of the Go runtime.
AllThreadsSyscall is unaware of any threads that are launched
explicitly by cgo linked code, so the function always returns
ENOTSUP in binaries that use cgo.
AllThreadsSyscall6 is like AllThreadsSyscall, but extended to six
arguments.
Deprecated: Use golang.org/x/net/bpf instead.
BindToDevice binds the socket associated with fd to device.
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).
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 CloseOnExec(fd int)
CmsgLen returns the value to store in the Len field of the Cmsghdr
structure, taking into account any necessary alignment.
CmsgSpace returns the number of bytes an ancillary element with
payload of the passed data length occupies.
Deprecated: Use golang.org/x/net/bpf instead.
func EpollCreate(size int) (fd int, err error) func EpollCreate1(flag int) (fd int, err error)
Exec invokes the execve(2) system call.
FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.
Combination of fork and exec, careful to be thread safe.
func Getpeername(fd int) (sa Sockaddr, err error) func Getsockname(fd int) (sa Sockaddr, err error) func GetsockoptICMPv6Filter(fd, level, opt int) (*ICMPv6Filter, error) func GetsockoptInet4Addr(fd, level, opt int) (value [4]byte, err error) func GetsockoptInt(fd, level, opt int) (value int, err error) func GetsockoptIPMreq(fd, level, opt int) (*IPMreq, error) func GetsockoptIPMreqn(fd, level, opt int) (*IPMreqn, error) func GetsockoptIPv6Mreq(fd, level, opt int) (*IPv6Mreq, error) func GetsockoptIPv6MTUInfo(fd, level, opt int) (*IPv6MTUInfo, error) func GetsockoptUcred(fd, level, opt int) (*Ucred, error) func Gettimeofday(tv *Timeval) (err error) func InotifyInit() (fd int, err error) func InotifyInit1(flags int) (fd int, err error)
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
Deprecated: Use golang.org/x/net/bpf instead.
func Munlockall() (err error)
NetlinkRIB returns routing information base, as known as RIB, which
consists of network facility information, states and parameters.
NsecToTimespec converts a number of nanoseconds into a Timespec.
NsecToTimeval converts a number of nanoseconds into a Timeval.
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.
ParseNetlinkMessage parses b as an array of netlink messages and
returns the slice containing the NetlinkMessage structures.
ParseNetlinkRouteAttr parses m's payload as an array of netlink
route attributes and returns the slice containing the
NetlinkRouteAttr structures.
ParseSocketControlMessage parses b as an array of socket control
messages.
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.
ParseUnixRights decodes a socket control message that contains an
integer array of open file descriptors from another process.
func PtraceAttach(pid int) (err error) func PtraceCont(pid int, signal int) (err error) func PtraceDetach(pid int) (err error) func PtraceGetEventMsg(pid int) (msg uint, err error) func PtraceGetRegs(pid int, regsout *PtraceRegs) (err error) func PtraceSetOptions(pid int, options int) (err error) func PtraceSetRegs(pid int, regs *PtraceRegs) (err error) func PtraceSingleStep(pid int) (err error) func PtraceSyscall(pid int, signal int) (err error) func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno) func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno) func Recvmsg(fd int, p, oob []byte, flags int) (n, oobn int, recvflags int, from Sockaddr, err error) func Removexattr(path string, attr string) (err error) func Setdomainname(p []byte) (err error) func Sethostname(p []byte) (err error)
Deprecated: Use golang.org/x/net/bpf instead.
func SetNonblock(fd int, nonblocking bool) (err error) func SetsockoptByte(fd, level, opt int, value byte) (err error) func SetsockoptICMPv6Filter(fd, level, opt int, filter *ICMPv6Filter) error func SetsockoptInet4Addr(fd, level, opt int, value [4]byte) (err error) func SetsockoptInt(fd, level, opt int, value int) (err error) func SetsockoptIPMreq(fd, level, opt int, mreq *IPMreq) (err error) func SetsockoptIPMreqn(fd, level, opt int, mreq *IPMreqn) (err error) func SetsockoptIPv6Mreq(fd, level, opt int, mreq *IPv6Mreq) (err error) func SetsockoptLinger(fd, level, opt int, l *Linger) (err error) func SetsockoptString(fd, level, opt int, s string) (err error) func SetsockoptTimeval(fd, level, opt int, tv *Timeval) (err error) func Settimeofday(tv *Timeval) (err error)
SlicePtrFromStrings converts a slice of strings to a slice of
pointers to NUL-terminated byte arrays. If any string contains
a NUL byte, it returns (nil, EINVAL).
func Socketpair(domain, typ, proto int) (fd [2]int, err error)
StartProcess wraps ForkExec for package os.
StringBytePtr returns a pointer to a NUL-terminated array of bytes.
If s contains a NUL byte this function panics instead of returning
an error.
Deprecated: Use BytePtrFromString instead.
StringByteSlice converts a string to a NUL-terminated []byte,
If s contains a NUL byte this function panics instead of
returning an error.
Deprecated: Use ByteSliceFromString instead.
StringSlicePtr converts a slice of strings to a slice of pointers
to NUL-terminated byte arrays. If any string contains a NUL byte
this function panics instead of returning an error.
Deprecated: Use SlicePtrFromStrings instead.
TimespecToNsec returns the time stored in ts as nanoseconds.
TimevalToNsec returns the time stored in tv as nanoseconds.
UnixCredentials encodes credentials into a socket control message
for sending to another process. This can be used for
authentication.
UnixRights encodes a set of open file descriptors into a socket
control message for sending to another process.
func UtimesNano(path string, ts []Timespec) (err error)
Package-Level Variables (total 38, in which 5 are exported)
ForkLock is used to synchronize creation of new file descriptors
with fork.
We want the child in a fork/exec sequence to inherit only the
file descriptors we intend. To do that, we mark all file
descriptors close-on-exec and then, in the child, explicitly
unmark the ones we want the exec'ed program to keep.
Unix doesn't make this easy: there is, in general, no way to
allocate a new file descriptor close-on-exec. Instead you
have to allocate the descriptor and then mark it close-on-exec.
If a fork happens between those two events, the child's exec
will inherit an unwanted file descriptor.
This lock solves that race: the create new fd/mark close-on-exec
operation is done holding ForkLock for reading, and the fork itself
is done holding ForkLock for writing. At least, that's the idea.
There are some complications.
Some system calls that create new file descriptors can block
for arbitrarily long times: open on a hung NFS server or named
pipe, accept on a socket, and so on. We can't reasonably grab
the lock across those operations.
It is worse to inherit some file descriptors than others.
If a non-malicious child accidentally inherits an open ordinary file,
that's not a big deal. On the other hand, if a long-lived child
accidentally inherits the write end of a pipe, then the reader
of that pipe will not see EOF until that child exits, potentially
causing the parent program to hang. This is a common problem
in threaded C programs that use popen.
Luckily, the file descriptors that are most important not to
inherit are not the ones that can take an arbitrarily long time
to create: pipe returns instantly, and the net package uses
non-blocking I/O to accept on a listening socket.
The rules for which file descriptor-creating operations use the
ForkLock are as follows:
- Pipe. Use pipe2 if available. Otherwise, does not block,
so use ForkLock.
- Socket. Use SOCK_CLOEXEC if available. Otherwise, does not
block, so use ForkLock.
- Open. Use O_CLOEXEC if available. Otherwise, may block,
so live with the race.
- Dup. Use F_DUPFD_CLOEXEC or dup3 if available. Otherwise,
does not block, so use ForkLock.
For testing: clients can set this flag to force
creation of IPv6 sockets to return EAFNOSUPPORT.
Package-Level Constants (total 1912, in which 1879 are exported)
const AF_APPLETALK = 5 const AF_BLUETOOTH = 31 const AF_IEEE802154 = 36 const AF_NETBEUI = 13 const AF_NETLINK = 16 const AF_SECURITY = 14 const AF_WANPIPE = 25 const ARPHRD_ADAPT = 264 const ARPHRD_APPLETLK = 8 const ARPHRD_ARCNET = 7 const ARPHRD_ASH = 781 const ARPHRD_ATM = 19 const ARPHRD_AX25 = 3 const ARPHRD_BIF = 775 const ARPHRD_CHAOS = 5 const ARPHRD_CISCO = 513 const ARPHRD_CSLIP = 257 const ARPHRD_CSLIP6 = 259 const ARPHRD_DDCMP = 517 const ARPHRD_DLCI = 15 const ARPHRD_ECONET = 782 const ARPHRD_EETHER = 2 const ARPHRD_ETHER = 1 const ARPHRD_EUI64 = 27 const ARPHRD_FCAL = 785 const ARPHRD_FCFABRIC = 787 const ARPHRD_FCPL = 786 const ARPHRD_FCPP = 784 const ARPHRD_FDDI = 774 const ARPHRD_FRAD = 770 const ARPHRD_HDLC = 513 const ARPHRD_HIPPI = 780 const ARPHRD_HWX25 = 272 const ARPHRD_IEEE1394 = 24 const ARPHRD_IEEE802 = 6 const ARPHRD_IEEE80211 = 801 const ARPHRD_IEEE80211_PRISM = 802 const ARPHRD_IEEE802154 = 804 const ARPHRD_IEEE802154_PHY = 805 const ARPHRD_IEEE802_TR = 800 const ARPHRD_INFINIBAND = 32 const ARPHRD_IPDDP = 777 const ARPHRD_IPGRE = 778 const ARPHRD_IRDA = 783 const ARPHRD_LAPB = 516 const ARPHRD_LOCALTLK = 773 const ARPHRD_LOOPBACK = 772 const ARPHRD_METRICOM = 23 const ARPHRD_NETROM = 0 const ARPHRD_NONE = 65534 const ARPHRD_PIMREG = 779 const ARPHRD_PPP = 512 const ARPHRD_PRONET = 4 const ARPHRD_RAWHDLC = 518 const ARPHRD_ROSE = 270 const ARPHRD_RSRVD = 260 const ARPHRD_SIT = 776 const ARPHRD_SKIP = 771 const ARPHRD_SLIP = 256 const ARPHRD_SLIP6 = 258 const ARPHRD_TUNNEL = 768 const ARPHRD_TUNNEL6 = 769 const ARPHRD_VOID = 65535 const ARPHRD_X25 = 271 const BPF_MAXINSNS = 4096 const BPF_MEMWORDS = 16
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
Linux unshare/clone/clone2/clone3 flags, architecture-independent,
copied from linux/sched.h.
const DT_UNKNOWN = 0
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
const EPOLL_CLOEXEC = 524288 const EPOLL_CTL_ADD = 1 const EPOLL_CTL_DEL = 2 const EPOLL_CTL_MOD = 3 const EPOLL_NONBLOCK = 2048 const EPOLLONESHOT = 1073741824 const EPOLLRDBAND = 128 const EPOLLRDHUP = 8192 const EPOLLRDNORM = 64 const EPOLLWRBAND = 512 const EPOLLWRNORM = 256
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
const ETH_P_1588 = 35063 const ETH_P_8021Q = 33024 const ETH_P_802_2 = 4 const ETH_P_802_3 = 1 const ETH_P_AARP = 33011 const ETH_P_ARCNET = 26 const ETH_P_ATALK = 32923 const ETH_P_ATMFATE = 34948 const ETH_P_ATMMPOA = 34892 const ETH_P_AX25 = 2 const ETH_P_CAIF = 247 const ETH_P_CONTROL = 22 const ETH_P_CUST = 24582 const ETH_P_DDCMP = 6 const ETH_P_DIAG = 24581 const ETH_P_DNA_DL = 24577 const ETH_P_DNA_RC = 24578 const ETH_P_DNA_RT = 24579 const ETH_P_ECONET = 24 const ETH_P_EDSA = 56026 const ETH_P_FCOE = 35078 const ETH_P_HDLC = 25 const ETH_P_IEEE802154 = 246 const ETH_P_IEEEPUP = 2560 const ETH_P_IEEEPUPAT = 2561 const ETH_P_IPV6 = 34525 const ETH_P_IRDA = 23 const ETH_P_LINK_CTL = 34924 const ETH_P_LOCALTALK = 9 const ETH_P_LOOP = 96 const ETH_P_MOBITEX = 21 const ETH_P_MPLS_MC = 34888 const ETH_P_MPLS_UC = 34887 const ETH_P_PAUSE = 34824 const ETH_P_PHONET = 245 const ETH_P_PPP_DISC = 34915 const ETH_P_PPP_MP = 8 const ETH_P_PPP_SES = 34916 const ETH_P_PPPTALK = 16 const ETH_P_PUPAT = 513 const ETH_P_RARP = 32821 const ETH_P_SLOW = 34825 const ETH_P_SNAP = 5 const ETH_P_TIPC = 35018 const ETH_P_TR_802_2 = 17 const ETH_P_TRAILER = 28 const ETH_P_WAN_PPP = 7 const ETH_P_WCCP = 34878
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
Errors
const F_DUPFD_CLOEXEC = 1030 const F_GETLEASE = 1025 const F_GETOWN_EX = 16 const F_GETPIPE_SZ = 1032 const F_SETLEASE = 1024 const F_SETLKW64 = 7 const F_SETOWN_EX = 15 const F_SETPIPE_SZ = 1031 const FD_CLOEXEC = 1 const FD_SETSIZE = 1024 const ICMPV6_FILTER = 1 const IFA_ADDRESS = 1 const IFA_ANYCAST = 5 const IFA_BROADCAST = 4 const IFA_CACHEINFO = 6 const IFA_F_DADFAILED = 8 const IFA_F_DEPRECATED = 32 const IFA_F_HOMEADDRESS = 16 const IFA_F_NODAD = 2 const IFA_F_PERMANENT = 128 const IFA_F_SECONDARY = 1 const IFA_F_TEMPORARY = 1 const IFA_F_TENTATIVE = 64 const IFA_MULTICAST = 7 const IFA_UNSPEC = 0 const IFF_ALLMULTI = 512 const IFF_AUTOMEDIA = 16384 const IFF_BROADCAST = 2 const IFF_DYNAMIC = 32768 const IFF_LOOPBACK = 8 const IFF_MASTER = 1024 const IFF_MULTICAST = 4096 const IFF_NOTRAILERS = 32 const IFF_ONE_QUEUE = 8192 const IFF_POINTOPOINT = 16 const IFF_PORTSEL = 8192 const IFF_PROMISC = 256 const IFF_RUNNING = 64 const IFF_TUN_EXCL = 32768 const IFF_VNET_HDR = 16384 const IFLA_ADDRESS = 1 const IFLA_BROADCAST = 2 const IFLA_IFALIAS = 20 const IFLA_IFNAME = 3 const IFLA_LINKINFO = 18 const IFLA_LINKMODE = 17 const IFLA_MASTER = 10 const IFLA_NET_NS_PID = 19 const IFLA_OPERSTATE = 16 const IFLA_PRIORITY = 9 const IFLA_PROTINFO = 12 const IFLA_QDISC = 6 const IFLA_STATS = 7 const IFLA_TXQLEN = 13 const IFLA_UNSPEC = 0 const IFLA_WEIGHT = 15 const IFLA_WIRELESS = 11 const ImplementsGetwd = true const IN_ALL_EVENTS = 4095 const IN_CLASSA_HOST = 16777215 const IN_CLASSA_MAX = 128 const IN_CLASSA_NET = 4278190080 const IN_CLASSA_NSHIFT = 24 const IN_CLASSB_HOST = 65535 const IN_CLASSB_MAX = 65536 const IN_CLASSB_NET = 4294901760 const IN_CLASSB_NSHIFT = 16 const IN_CLASSC_HOST = 255 const IN_CLASSC_NET = 4294967040 const IN_CLOEXEC = 524288 const IN_CLOSE_NOWRITE = 16 const IN_CLOSE_WRITE = 8 const IN_DELETE_SELF = 1024 const IN_DONT_FOLLOW = 33554432 const IN_EXCL_UNLINK = 67108864 const IN_IGNORED = 32768 const IN_LOOPBACKNET = 127 const IN_MASK_ADD = 536870912 const IN_MOVE_SELF = 2048 const IN_MOVED_FROM = 64 const IN_MOVED_TO = 128 const IN_NONBLOCK = 2048 const IN_ONESHOT = 2147483648 const IN_ONLYDIR = 16777216 const IN_Q_OVERFLOW = 16384 const IN_UNMOUNT = 8192 const IP_ADD_MEMBERSHIP = 35 const IP_BLOCK_SOURCE = 38 const IP_DROP_MEMBERSHIP = 36 const IP_FREEBIND = 15 const IP_HDRINCL = 3 const IP_IPSEC_POLICY = 16 const IP_MAX_MEMBERSHIPS = 20 const IP_MAXPACKET = 65535 const IP_MSFILTER = 41 const IP_MTU_DISCOVER = 10 const IP_MULTICAST_IF = 32 const IP_MULTICAST_LOOP = 34 const IP_MULTICAST_TTL = 33 const IP_OFFMASK = 8191 const IP_OPTIONS = 4 const IP_ORIGDSTADDR = 20 const IP_PASSSEC = 18 const IP_PKTINFO = 8 const IP_PKTOPTIONS = 9 const IP_PMTUDISC = 10 const IP_PMTUDISC_DO = 2 const IP_RECVERR = 11 const IP_RECVOPTS = 6 const IP_RECVORIGDSTADDR = 20 const IP_RECVRETOPTS = 7 const IP_RECVTOS = 13 const IP_RECVTTL = 12 const IP_RETOPTS = 7 const IP_ROUTER_ALERT = 5 const IP_TRANSPARENT = 19 const IP_UNBLOCK_SOURCE = 37 const IP_XFRM_POLICY = 17 const IPPROTO_AH = 51 const IPPROTO_COMP = 108 const IPPROTO_DCCP = 33 const IPPROTO_DSTOPTS = 60 const IPPROTO_EGP = 8 const IPPROTO_ENCAP = 98 const IPPROTO_ESP = 50 const IPPROTO_FRAGMENT = 44 const IPPROTO_GRE = 47 const IPPROTO_HOPOPTS = 0 const IPPROTO_ICMP = 1 const IPPROTO_ICMPV6 = 58 const IPPROTO_IDP = 22 const IPPROTO_IGMP = 2 const IPPROTO_IP = 0 const IPPROTO_IPIP = 4 const IPPROTO_IPV6 = 41 const IPPROTO_MTP = 92 const IPPROTO_NONE = 59 const IPPROTO_PIM = 103 const IPPROTO_PUP = 12 const IPPROTO_RAW = 255 const IPPROTO_ROUTING = 43 const IPPROTO_RSVP = 46 const IPPROTO_SCTP = 132 const IPPROTO_TCP = 6 const IPPROTO_TP = 29 const IPPROTO_UDP = 17 const IPPROTO_UDPLITE = 136 const IPV6_2292RTHDR = 5 const IPV6_ADD_MEMBERSHIP = 20 const IPV6_ADDRFORM = 1 const IPV6_AUTHHDR = 10 const IPV6_CHECKSUM = 7 const IPV6_DSTOPTS = 59 const IPV6_HOPLIMIT = 52 const IPV6_HOPOPTS = 54 const IPV6_IPSEC_POLICY = 34 const IPV6_JOIN_ANYCAST = 27 const IPV6_JOIN_GROUP = 20 const IPV6_LEAVE_ANYCAST = 28 const IPV6_LEAVE_GROUP = 21 const IPV6_MTU_DISCOVER = 23 const IPV6_MULTICAST_HOPS = 18 const IPV6_MULTICAST_IF = 17 const IPV6_MULTICAST_LOOP = 19 const IPV6_NEXTHOP = 9 const IPV6_PKTINFO = 50 const IPV6_RECVDSTOPTS = 58 const IPV6_RECVERR = 25 const IPV6_RECVHOPLIMIT = 51 const IPV6_RECVHOPOPTS = 53 const IPV6_RECVPKTINFO = 49 const IPV6_RECVRTHDR = 56 const IPV6_RECVTCLASS = 66 const IPV6_ROUTER_ALERT = 22 const IPV6_RTHDR = 57 const IPV6_RTHDRDSTOPTS = 55 const IPV6_RXDSTOPTS = 59 const IPV6_RXHOPOPTS = 54 const IPV6_TCLASS = 67 const IPV6_UNICAST_HOPS = 16 const IPV6_V6ONLY = 26 const IPV6_XFRM_POLICY = 35 const LINUX_REBOOT_CMD_CAD_ON = 2309737967 const LINUX_REBOOT_CMD_HALT = 3454992675 const LINUX_REBOOT_CMD_KEXEC = 1163412803 const LINUX_REBOOT_CMD_POWER_OFF = 1126301404 const LINUX_REBOOT_CMD_RESTART = 19088743 const LINUX_REBOOT_CMD_RESTART2 = 2712847316 const LINUX_REBOOT_CMD_SW_SUSPEND = 3489725666 const LINUX_REBOOT_MAGIC1 = 4276215469 const LINUX_REBOOT_MAGIC2 = 672274793 const MADV_DOFORK = 11 const MADV_DONTFORK = 10 const MADV_DONTNEED = 4 const MADV_HUGEPAGE = 14 const MADV_HWPOISON = 100 const MADV_MERGEABLE = 12 const MADV_NOHUGEPAGE = 15 const MADV_NORMAL = 0 const MADV_RANDOM = 1 const MADV_REMOVE = 9 const MADV_SEQUENTIAL = 2 const MADV_UNMERGEABLE = 13 const MADV_WILLNEED = 3 const MAP_ANONYMOUS = 32 const MAP_DENYWRITE = 2048 const MAP_EXECUTABLE = 4096 const MAP_GROWSDOWN = 256 const MAP_HUGETLB = 262144 const MAP_LOCKED = 8192 const MAP_NONBLOCK = 65536 const MAP_NORESERVE = 16384 const MAP_POPULATE = 32768 const MAP_PRIVATE = 2 const MAP_SHARED = 1 const MCL_CURRENT = 1 const MCL_FUTURE = 2 const MNT_DETACH = 2 const MNT_EXPIRE = 4 const MS_DIRSYNC = 128 const MS_I_VERSION = 8388608 const MS_INVALIDATE = 2 const MS_KERNMOUNT = 4194304 const MS_MANDLOCK = 64 const MS_MGC_MSK = 4294901760 const MS_MGC_VAL = 3236757504 const MS_NOATIME = 1024 const MS_NODIRATIME = 2048 const MS_POSIXACL = 65536 const MS_PRIVATE = 262144 const MS_RELATIME = 2097152 const MS_REMOUNT = 32 const MS_RMT_MASK = 8388689 const MS_STRICTATIME = 16777216 const MS_SYNCHRONOUS = 16 const MS_UNBINDABLE = 131072 const MSG_CMSG_CLOEXEC = 1073741824 const MSG_CONFIRM = 2048 const MSG_CTRUNC = 8 const MSG_DONTROUTE = 4 const MSG_DONTWAIT = 64 const MSG_ERRQUEUE = 8192 const MSG_FASTOPEN = 536870912 const MSG_NOSIGNAL = 16384 const MSG_TRYHARD = 4 const MSG_WAITALL = 256 const MSG_WAITFORONE = 65536 const NETLINK_AUDIT = 9 const NETLINK_CONNECTOR = 11 const NETLINK_DNRTMSG = 14 const NETLINK_ECRYPTFS = 19 const NETLINK_FIB_LOOKUP = 10 const NETLINK_GENERIC = 16 const NETLINK_IP6_FW = 13 const NETLINK_ISCSI = 8 const NETLINK_NETFILTER = 12 const NETLINK_NFLOG = 5 const NETLINK_PKTINFO = 3 const NETLINK_ROUTE = 0 const NETLINK_SELINUX = 7 const NETLINK_UNUSED = 1 const NETLINK_XFRM = 6 const NLA_ALIGNTO = 4 const NLA_F_NESTED = 32768 const NLA_F_NET_BYTEORDER = 16384 const NLA_HDRLEN = 4 const NLM_F_APPEND = 2048 const NLM_F_ATOMIC = 1024 const NLM_F_CREATE = 1024 const NLM_F_DUMP = 768 const NLM_F_ECHO = 8 const NLM_F_EXCL = 512 const NLM_F_MATCH = 512 const NLM_F_MULTI = 2 const NLM_F_REPLACE = 256 const NLM_F_REQUEST = 1 const NLM_F_ROOT = 256 const NLMSG_ALIGNTO = 4 const NLMSG_DONE = 3 const NLMSG_ERROR = 2 const NLMSG_HDRLEN = 16 const NLMSG_MIN_TYPE = 16 const NLMSG_NOOP = 1 const NLMSG_OVERRUN = 4 const O_DIRECTORY = 65536 const O_LARGEFILE = 0 const O_NOFOLLOW = 131072 const O_NONBLOCK = 2048 const PACKET_HOST = 0 const PACKET_LOOPBACK = 5 const PACKET_OUTGOING = 4 const PACKET_RX_RING = 5 const PR_CAPBSET_DROP = 24 const PR_CAPBSET_READ = 23 const PR_ENDIAN_BIG = 0 const PR_FP_EXC_ASYNC = 2 const PR_FP_EXC_DIV = 65536 const PR_FP_EXC_INV = 1048576 const PR_FP_EXC_OVF = 131072 const PR_FP_EXC_RES = 524288 const PR_FP_EXC_SW_ENABLE = 128 const PR_FP_EXC_UND = 262144 const PR_FPEMU_SIGFPE = 2 const PR_GET_DUMPABLE = 3 const PR_GET_ENDIAN = 19 const PR_GET_FPEMU = 9 const PR_GET_FPEXC = 11 const PR_GET_KEEPCAPS = 7 const PR_GET_NAME = 16 const PR_GET_SECCOMP = 21 const PR_GET_SECUREBITS = 27 const PR_GET_TIMERSLACK = 30 const PR_GET_TIMING = 13 const PR_GET_TSC = 25 const PR_GET_UNALIGN = 5 const PR_MCE_KILL = 33 const PR_MCE_KILL_GET = 34 const PR_MCE_KILL_SET = 1 const PR_SET_DUMPABLE = 4 const PR_SET_ENDIAN = 20 const PR_SET_FPEMU = 10 const PR_SET_FPEXC = 12 const PR_SET_KEEPCAPS = 8 const PR_SET_NAME = 15 const PR_SET_PTRACER = 1499557217 const PR_SET_SECCOMP = 22 const PR_SET_SECUREBITS = 28 const PR_SET_TIMERSLACK = 29 const PR_SET_TIMING = 14 const PR_SET_TSC = 26 const PR_SET_UNALIGN = 6 const PR_TSC_ENABLE = 1 const PR_TSC_SIGSEGV = 2 const PRIO_PROCESS = 0 const PROT_GROWSDOWN = 16777216 const PROT_GROWSUP = 33554432 const PROT_WRITE = 2 const PTRACE_ARCH_PRCTL = 30 const PTRACE_ATTACH = 16 const PTRACE_CONT = 7 const PTRACE_DETACH = 17 const PTRACE_GETEVENTMSG = 16897 const PTRACE_GETFPREGS = 14 const PTRACE_GETFPXREGS = 18 const PTRACE_GETREGS = 12 const PTRACE_GETREGSET = 16900 const PTRACE_GETSIGINFO = 16898 const PTRACE_KILL = 8 const PTRACE_O_MASK = 127 const PTRACE_O_TRACEEXEC = 16 const PTRACE_O_TRACEEXIT = 64 const PTRACE_PEEKDATA = 2 const PTRACE_PEEKTEXT = 1 const PTRACE_PEEKUSR = 3 const PTRACE_POKEDATA = 5 const PTRACE_POKETEXT = 4 const PTRACE_POKEUSR = 6 const PTRACE_SETFPREGS = 15 const PTRACE_SETFPXREGS = 19 const PTRACE_SETOPTIONS = 16896 const PTRACE_SETREGS = 13 const PTRACE_SETREGSET = 16901 const PTRACE_SETSIGINFO = 16899 const PTRACE_SINGLEBLOCK = 33 const PTRACE_SYSCALL = 24 const PTRACE_SYSEMU = 31 const PTRACE_TRACEME = 0 const RLIM_INFINITY = -1 const RLIMIT_CORE = 4 const RLIMIT_CPU = 0 const RLIMIT_DATA = 2 const RLIMIT_FSIZE = 1 const RLIMIT_NOFILE = 7 const RLIMIT_STACK = 3 const RT_CLASS_DEFAULT = 253 const RT_CLASS_LOCAL = 255 const RT_CLASS_MAIN = 254 const RT_CLASS_MAX = 255 const RT_CLASS_UNSPEC = 0 const RT_SCOPE_HOST = 254 const RT_SCOPE_LINK = 253 const RT_SCOPE_NOWHERE = 255 const RT_SCOPE_SITE = 200 const RT_TABLE_COMPAT = 252 const RT_TABLE_DEFAULT = 253 const RT_TABLE_LOCAL = 255 const RT_TABLE_MAIN = 254 const RT_TABLE_MAX = 4294967295 const RT_TABLE_UNSPEC = 0 const RTA_ALIGNTO = 4 const RTA_CACHEINFO = 12 const RTA_GATEWAY = 5 const RTA_METRICS = 8 const RTA_MULTIPATH = 9 const RTA_PREFSRC = 7 const RTA_PRIORITY = 6 const RTA_UNSPEC = 0 const RTAX_ADVMSS = 8 const RTAX_FEATURES = 12 const RTAX_HOPLIMIT = 10 const RTAX_INITCWND = 11 const RTAX_INITRWND = 14 const RTAX_REORDERING = 9 const RTAX_RTO_MIN = 13 const RTAX_RTTVAR = 5 const RTAX_SSTHRESH = 6 const RTAX_UNSPEC = 0 const RTAX_WINDOW = 3 const RTCF_DIRECTSRC = 67108864 const RTCF_DOREDIRECT = 16777216 const RTCF_VALVE = 2097152 const RTF_ADDRCLASSMASK = 4160749568 const RTF_ADDRCONF = 262144 const RTF_ALLONLINK = 131072 const RTF_BROADCAST = 268435456 const RTF_DEFAULT = 65536 const RTF_DYNAMIC = 16 const RTF_GATEWAY = 2 const RTF_INTERFACE = 1073741824 const RTF_LINKRT = 1048576 const RTF_MODIFIED = 32 const RTF_MULTICAST = 536870912 const RTF_NOFORWARD = 4096 const RTF_NONEXTHOP = 2097152 const RTF_NOPMTUDISC = 16384 const RTF_POLICY = 67108864 const RTF_REINSTATE = 8 const RTF_REJECT = 512 const RTF_STATIC = 1024 const RTF_WINDOW = 128 const RTF_XRESOLVE = 2048 const RTM_DELACTION = 49 const RTM_DELADDR = 21 const RTM_DELADDRLABEL = 73 const RTM_DELLINK = 17 const RTM_DELNEIGH = 29 const RTM_DELQDISC = 37 const RTM_DELROUTE = 25 const RTM_DELRULE = 33 const RTM_DELTCLASS = 41 const RTM_DELTFILTER = 45 const RTM_F_CLONED = 512 const RTM_F_EQUALIZE = 1024 const RTM_F_NOTIFY = 256 const RTM_F_PREFIX = 2048 const RTM_GETACTION = 50 const RTM_GETADDR = 22 const RTM_GETADDRLABEL = 74 const RTM_GETANYCAST = 62 const RTM_GETDCB = 78 const RTM_GETLINK = 18 const RTM_GETMULTICAST = 58 const RTM_GETNEIGH = 30 const RTM_GETNEIGHTBL = 66 const RTM_GETQDISC = 38 const RTM_GETROUTE = 26 const RTM_GETRULE = 34 const RTM_GETTCLASS = 42 const RTM_GETTFILTER = 46 const RTM_NEWACTION = 48 const RTM_NEWADDR = 20 const RTM_NEWADDRLABEL = 72 const RTM_NEWLINK = 16 const RTM_NEWNDUSEROPT = 68 const RTM_NEWNEIGH = 28 const RTM_NEWNEIGHTBL = 64 const RTM_NEWPREFIX = 52 const RTM_NEWQDISC = 36 const RTM_NEWROUTE = 24 const RTM_NEWRULE = 32 const RTM_NEWTCLASS = 40 const RTM_NEWTFILTER = 44 const RTM_NR_FAMILIES = 16 const RTM_NR_MSGTYPES = 64 const RTM_SETDCB = 79 const RTM_SETLINK = 19 const RTM_SETNEIGHTBL = 67 const RTN_ANYCAST = 4 const RTN_BLACKHOLE = 6 const RTN_BROADCAST = 3 const RTN_MULTICAST = 5 const RTN_PROHIBIT = 8 const RTN_UNICAST = 1 const RTN_UNREACHABLE = 7 const RTN_UNSPEC = 0 const RTN_XRESOLVE = 11 const RTNH_ALIGNTO = 4 const RTNH_F_DEAD = 1 const RTNH_F_ONLINK = 4 const RTNLGRP_IPV6_IFINFO = 12 const RTNLGRP_IPV6_MROUTE = 10 const RTNLGRP_IPV6_PREFIX = 18 const RTNLGRP_IPV6_ROUTE = 11 const RTNLGRP_IPV6_RULE = 19 const RTNLGRP_LINK = 1 const RTNLGRP_ND_USEROPT = 20 const RTNLGRP_NEIGH = 3 const RTNLGRP_NONE = 0 const RTNLGRP_NOTIFY = 2 const RTNLGRP_TC = 4 const RTPROT_BIRD = 12 const RTPROT_BOOT = 3 const RTPROT_DHCP = 16 const RTPROT_DNROUTED = 13 const RTPROT_GATED = 8 const RTPROT_KERNEL = 2 const RTPROT_MRT = 10 const RTPROT_NTK = 15 const RTPROT_REDIRECT = 1 const RTPROT_STATIC = 4 const RTPROT_UNSPEC = 0 const RTPROT_XORP = 14 const RTPROT_ZEBRA = 11 const RUSAGE_CHILDREN = -1 const RUSAGE_SELF = 0 const RUSAGE_THREAD = 1 const SCM_CREDENTIALS = 2 const SCM_RIGHTS = 1 const SCM_TIMESTAMP = 29 const SCM_TIMESTAMPING = 37 const SCM_TIMESTAMPNS = 35
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
Signals
const SIOCADDDLCI = 35200 const SIOCADDMULTI = 35121 const SIOCATMARK = 35077 const SIOCDELDLCI = 35201 const SIOCDELMULTI = 35122 const SIOCDEVPRIVATE = 35312 const SIOCDIFADDR = 35126 const SIOCGIFADDR = 35093 const SIOCGIFBRDADDR = 35097 const SIOCGIFCONF = 35090 const SIOCGIFCOUNT = 35128 const SIOCGIFDSTADDR = 35095 const SIOCGIFENCAP = 35109 const SIOCGIFFLAGS = 35091 const SIOCGIFHWADDR = 35111 const SIOCGIFINDEX = 35123 const SIOCGIFMAP = 35184 const SIOCGIFMEM = 35103 const SIOCGIFMETRIC = 35101 const SIOCGIFMTU = 35105 const SIOCGIFNAME = 35088 const SIOCGIFNETMASK = 35099 const SIOCGIFPFLAGS = 35125 const SIOCGIFSLAVE = 35113 const SIOCGIFTXQLEN = 35138 const SIOCGSTAMP = 35078 const SIOCGSTAMPNS = 35079 const SIOCPROTOPRIVATE = 35296 const SIOCSIFADDR = 35094 const SIOCSIFBRDADDR = 35098 const SIOCSIFDSTADDR = 35096 const SIOCSIFENCAP = 35110 const SIOCSIFFLAGS = 35092 const SIOCSIFHWADDR = 35108 const SIOCSIFHWBROADCAST = 35127 const SIOCSIFLINK = 35089 const SIOCSIFMAP = 35185 const SIOCSIFMEM = 35104 const SIOCSIFMETRIC = 35102 const SIOCSIFMTU = 35106 const SIOCSIFNAME = 35107 const SIOCSIFNETMASK = 35100 const SIOCSIFPFLAGS = 35124 const SIOCSIFSLAVE = 35120 const SIOCSIFTXQLEN = 35139 const SizeofCmsghdr = 16 const SizeofICMPv6Filter = 32 const SizeofIfAddrmsg = 8 const SizeofIfInfomsg = 16 const SizeofInet4Pktinfo = 12 const SizeofInet6Pktinfo = 20 const SizeofInotifyEvent = 16 const SizeofIPMreq = 8 const SizeofIPMreqn = 12 const SizeofIPv6Mreq = 20 const SizeofIPv6MTUInfo = 32 const SizeofLinger = 8 const SizeofMsghdr = 56 const SizeofNlAttr = 4 const SizeofNlMsgerr = 20 const SizeofNlMsghdr = 16 const SizeofRtAttr = 4 const SizeofRtGenmsg = 1 const SizeofRtMsg = 12 const SizeofRtNexthop = 8 const SizeofSockaddrAny = 112 const SizeofSockaddrInet4 = 16 const SizeofSockaddrInet6 = 28 const SizeofSockaddrUnix = 110 const SizeofSockFprog = 16 const SizeofTCPInfo = 104 const SizeofUcred = 12 const SO_ACCEPTCONN = 30 const SO_ATTACH_FILTER = 26 const SO_BINDTODEVICE = 25 const SO_BROADCAST = 6 const SO_BSDCOMPAT = 14 const SO_DETACH_FILTER = 27 const SO_DONTROUTE = 5 const SO_KEEPALIVE = 9 const SO_NO_CHECK = 11 const SO_OOBINLINE = 10 const SO_PASSCRED = 16 const SO_PASSSEC = 34 const SO_PEERCRED = 17 const SO_PEERNAME = 28 const SO_PEERSEC = 31 const SO_PRIORITY = 12 const SO_PROTOCOL = 38 const SO_RCVBUFFORCE = 33 const SO_RCVLOWAT = 18 const SO_RCVTIMEO = 20 const SO_REUSEADDR = 2 const SO_RXQ_OVFL = 40 const SO_SNDBUFFORCE = 32 const SO_SNDLOWAT = 19 const SO_SNDTIMEO = 21 const SO_TIMESTAMP = 29 const SO_TIMESTAMPING = 37 const SO_TIMESTAMPNS = 35 const SOCK_CLOEXEC = 524288 const SOCK_DGRAM = 2 const SOCK_NONBLOCK = 2048 const SOCK_PACKET = 10 const SOCK_SEQPACKET = 5 const SOCK_STREAM = 1 const SOL_DECNET = 261 const SOL_ICMPV6 = 58 const SOL_PACKET = 263 const SOL_SOCKET = 1 const SYS__SYSCTL = 156 const SYS_ACCEPT = 43 const SYS_ACCEPT4 = 288 const SYS_ACCESS = 21 const SYS_ADD_KEY = 248 const SYS_ADJTIMEX = 159 const SYS_AFS_SYSCALL = 183 const SYS_ARCH_PRCTL = 158 const SYS_CAPGET = 125 const SYS_CAPSET = 126 const SYS_CHROOT = 161 const SYS_CLOCK_GETRES = 229 const SYS_CLOCK_GETTIME = 228 const SYS_CLOCK_NANOSLEEP = 230 const SYS_CLOCK_SETTIME = 227 const SYS_CONNECT = 42 const SYS_CREATE_MODULE = 174 const SYS_DELETE_MODULE = 176 const SYS_EPOLL_CREATE = 213 const SYS_EPOLL_CREATE1 = 291 const SYS_EPOLL_CTL = 233 const SYS_EPOLL_CTL_OLD = 214 const SYS_EPOLL_PWAIT = 281 const SYS_EPOLL_WAIT = 232 const SYS_EPOLL_WAIT_OLD = 215 const SYS_EVENTFD = 284 const SYS_EVENTFD2 = 290 const SYS_EXECVE = 59 const SYS_EXIT_GROUP = 231 const SYS_FACCESSAT = 269 const SYS_FADVISE64 = 221 const SYS_FALLOCATE = 285 const SYS_FANOTIFY_INIT = 300 const SYS_FANOTIFY_MARK = 301 const SYS_FCHDIR = 81 const SYS_FCHMOD = 91 const SYS_FCHMODAT = 268 const SYS_FCHOWN = 93 const SYS_FCHOWNAT = 260 const SYS_FDATASYNC = 75 const SYS_FGETXATTR = 193 const SYS_FLISTXATTR = 196 const SYS_FREMOVEXATTR = 199 const SYS_FSETXATTR = 190 const SYS_FSTATFS = 138 const SYS_FTRUNCATE = 77 const SYS_FUTIMESAT = 261 const SYS_GET_KERNEL_SYMS = 177 const SYS_GET_MEMPOLICY = 239 const SYS_GET_ROBUST_LIST = 274 const SYS_GET_THREAD_AREA = 211 const SYS_GETCWD = 79 const SYS_GETDENTS = 78 const SYS_GETDENTS64 = 217 const SYS_GETEGID = 108 const SYS_GETEUID = 107 const SYS_GETGID = 104 const SYS_GETGROUPS = 115 const SYS_GETITIMER = 36 const SYS_GETPEERNAME = 52 const SYS_GETPGID = 121 const SYS_GETPGRP = 111 const SYS_GETPID = 39 const SYS_GETPMSG = 181 const SYS_GETPPID = 110 const SYS_GETPRIORITY = 140 const SYS_GETRESGID = 120 const SYS_GETRESUID = 118 const SYS_GETRLIMIT = 97 const SYS_GETRUSAGE = 98 const SYS_GETSID = 124 const SYS_GETSOCKNAME = 51 const SYS_GETSOCKOPT = 55 const SYS_GETTID = 186 const SYS_GETTIMEOFDAY = 96 const SYS_GETUID = 102 const SYS_GETXATTR = 191 const SYS_INIT_MODULE = 175 const SYS_INOTIFY_ADD_WATCH = 254 const SYS_INOTIFY_INIT = 253 const SYS_INOTIFY_INIT1 = 294 const SYS_INOTIFY_RM_WATCH = 255 const SYS_IO_CANCEL = 210 const SYS_IO_DESTROY = 207 const SYS_IO_GETEVENTS = 208 const SYS_IO_SETUP = 206 const SYS_IO_SUBMIT = 209 const SYS_IOPERM = 173 const SYS_IOPRIO_GET = 252 const SYS_IOPRIO_SET = 251 const SYS_KEXEC_LOAD = 246 const SYS_KEYCTL = 250 const SYS_LCHOWN = 94 const SYS_LGETXATTR = 192 const SYS_LINKAT = 265 const SYS_LISTEN = 50 const SYS_LISTXATTR = 194 const SYS_LLISTXATTR = 195 const SYS_LOOKUP_DCOOKIE = 212 const SYS_LREMOVEXATTR = 198 const SYS_LSETXATTR = 189 const SYS_MADVISE = 28 const SYS_MIGRATE_PAGES = 256 const SYS_MINCORE = 27 const SYS_MKDIRAT = 258 const SYS_MKNODAT = 259 const SYS_MLOCKALL = 151 const SYS_MODIFY_LDT = 154 const SYS_MOVE_PAGES = 279 const SYS_MPROTECT = 10 const SYS_MQ_GETSETATTR = 245 const SYS_MQ_NOTIFY = 244 const SYS_MQ_OPEN = 240 const SYS_MQ_TIMEDRECEIVE = 243 const SYS_MQ_TIMEDSEND = 242 const SYS_MQ_UNLINK = 241 const SYS_MREMAP = 25 const SYS_MSGCTL = 71 const SYS_MSGGET = 68 const SYS_MSGRCV = 70 const SYS_MSGSND = 69 const SYS_MUNLOCK = 150 const SYS_MUNLOCKALL = 152 const SYS_MUNMAP = 11 const SYS_NANOSLEEP = 35 const SYS_NEWFSTATAT = 262 const SYS_NFSSERVCTL = 180 const SYS_OPENAT = 257 const SYS_PERF_EVENT_OPEN = 298 const SYS_PERSONALITY = 135 const SYS_PIVOT_ROOT = 155 const SYS_PREAD64 = 17 const SYS_PREADV = 295 const SYS_PRLIMIT64 = 302 const SYS_PSELECT6 = 270 const SYS_PTRACE = 101 const SYS_PUTPMSG = 182 const SYS_PWRITE64 = 18 const SYS_PWRITEV = 296 const SYS_QUERY_MODULE = 178 const SYS_QUOTACTL = 179 const SYS_READAHEAD = 187 const SYS_READLINK = 89 const SYS_READLINKAT = 267 const SYS_REBOOT = 169 const SYS_RECVFROM = 45 const SYS_RECVMMSG = 299 const SYS_RECVMSG = 47 const SYS_REMAP_FILE_PAGES = 216 const SYS_REMOVEXATTR = 197 const SYS_RENAME = 82 const SYS_RENAMEAT = 264 const SYS_REQUEST_KEY = 249 const SYS_RESTART_SYSCALL = 219 const SYS_RT_SIGACTION = 13 const SYS_RT_SIGPENDING = 127 const SYS_RT_SIGPROCMASK = 14 const SYS_RT_SIGQUEUEINFO = 129 const SYS_RT_SIGRETURN = 15 const SYS_RT_SIGSUSPEND = 130 const SYS_RT_SIGTIMEDWAIT = 128 const SYS_RT_TGSIGQUEUEINFO = 297 const SYS_SCHED_GETAFFINITY = 204 const SYS_SCHED_GETPARAM = 143 const SYS_SCHED_GETSCHEDULER = 145 const SYS_SCHED_SETAFFINITY = 203 const SYS_SCHED_SETPARAM = 142 const SYS_SCHED_SETSCHEDULER = 144 const SYS_SCHED_YIELD = 24 const SYS_SECURITY = 185 const SYS_SELECT = 23 const SYS_SEMCTL = 66 const SYS_SEMGET = 64 const SYS_SEMTIMEDOP = 220 const SYS_SENDFILE = 40 const SYS_SENDMSG = 46 const SYS_SENDTO = 44 const SYS_SET_MEMPOLICY = 238 const SYS_SET_ROBUST_LIST = 273 const SYS_SET_THREAD_AREA = 205 const SYS_SET_TID_ADDRESS = 218 const SYS_SETDOMAINNAME = 171 const SYS_SETFSGID = 123 const SYS_SETFSUID = 122 const SYS_SETGID = 106 const SYS_SETGROUPS = 116 const SYS_SETHOSTNAME = 170 const SYS_SETITIMER = 38 const SYS_SETPGID = 109 const SYS_SETPRIORITY = 141 const SYS_SETREGID = 114 const SYS_SETRESGID = 119 const SYS_SETRESUID = 117 const SYS_SETREUID = 113 const SYS_SETRLIMIT = 160 const SYS_SETSID = 112 const SYS_SETSOCKOPT = 54 const SYS_SETTIMEOFDAY = 164 const SYS_SETUID = 105 const SYS_SETXATTR = 188 const SYS_SHMCTL = 31 const SYS_SHMGET = 29 const SYS_SHUTDOWN = 48 const SYS_SIGALTSTACK = 131 const SYS_SIGNALFD = 282 const SYS_SIGNALFD4 = 289 const SYS_SOCKET = 41 const SYS_SOCKETPAIR = 53 const SYS_SPLICE = 275 const SYS_STATFS = 137 const SYS_SWAPOFF = 168 const SYS_SWAPON = 167 const SYS_SYMLINK = 88 const SYS_SYMLINKAT = 266 const SYS_SYNC_FILE_RANGE = 277 const SYS_SYSINFO = 99 const SYS_SYSLOG = 103 const SYS_TGKILL = 234 const SYS_TIMER_CREATE = 222 const SYS_TIMER_DELETE = 226 const SYS_TIMER_GETOVERRUN = 225 const SYS_TIMER_GETTIME = 224 const SYS_TIMER_SETTIME = 223 const SYS_TIMERFD_CREATE = 283 const SYS_TIMERFD_GETTIME = 287 const SYS_TIMERFD_SETTIME = 286 const SYS_TRUNCATE = 76 const SYS_TUXCALL = 184 const SYS_UMOUNT2 = 166 const SYS_UNLINK = 87 const SYS_UNLINKAT = 263 const SYS_UNSHARE = 272 const SYS_USELIB = 134 const SYS_UTIMENSAT = 280 const SYS_UTIMES = 235 const SYS_VHANGUP = 153 const SYS_VMSPLICE = 278 const SYS_VSERVER = 236 const SYS_WAITID = 247 const SYS_WRITEV = 20 const TCP_CONGESTION = 13 const TCP_KEEPCNT = 6 const TCP_KEEPIDLE = 4 const TCP_KEEPINTVL = 5 const TCP_LINGER2 = 8 const TCP_MAX_WINSHIFT = 14 const TCP_MAXSEG = 2 const TCP_MAXWIN = 65535 const TCP_MD5SIG = 14 const TCP_NODELAY = 1 const TCP_QUICKACK = 12 const TCP_SYNCNT = 7 const TCP_WINDOW_CLAMP = 10 const TIOCGICOUNT = 21597 const TIOCGLCKTRMIOS = 21590 const TIOCGRS485 = 21550 const TIOCGSERIAL = 21534 const TIOCGSOFTCAR = 21529 const TIOCGWINSZ = 21523 const TIOCMIWAIT = 21596 const TIOCPKT_DATA = 0 const TIOCPKT_DOSTOP = 32 const TIOCPKT_IOCTL = 64 const TIOCPKT_NOSTOP = 16 const TIOCPKT_START = 8 const TIOCPKT_STOP = 4 const TIOCSER_TEMT = 1 const TIOCSERCONFIG = 21587 const TIOCSERGETLSR = 21593 const TIOCSERGETMULTI = 21594 const TIOCSERGSTRUCT = 21592 const TIOCSERGWILD = 21588 const TIOCSERSETMULTI = 21595 const TIOCSERSWILD = 21589 const TIOCSLCKTRMIOS = 21591 const TIOCSPTLCK = 1074025521 const TIOCSRS485 = 21551 const TIOCSSERIAL = 21535 const TIOCSSOFTCAR = 21530 const TIOCSWINSZ = 21524 const TUNATTACHFILTER = 1074812117 const TUNDETACHFILTER = 1074812118 const TUNGETFEATURES = 2147767503 const TUNGETSNDBUF = 2147767507 const TUNGETVNETHDRSZ = 2147767511 const TUNSETDEBUG = 1074025673 const TUNSETGROUP = 1074025678 const TUNSETLINK = 1074025677 const TUNSETNOCSUM = 1074025672 const TUNSETOFFLOAD = 1074025680 const TUNSETOWNER = 1074025676 const TUNSETPERSIST = 1074025675 const TUNSETSNDBUF = 1074025684 const TUNSETTXFILTER = 1074025681 const TUNSETVNETHDRSZ = 1074025688 const WCONTINUED = 8
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |