const syscall.SOL_SOCKET
20 uses
syscall (current package)
lsf_linux.go#L79: return setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, unsafe.Pointer(&p), unsafe.Sizeof(p))
lsf_linux.go#L85: return setsockopt(fd, SOL_SOCKET, SO_DETACH_FILTER, unsafe.Pointer(&dummy), unsafe.Sizeof(dummy))
sockcmsg_linux.go#L17: h.Level = SOL_SOCKET
sockcmsg_linux.go#L28: if m.Header.Level != SOL_SOCKET {
sockcmsg_unix.go#L68: h.Level = SOL_SOCKET
sockcmsg_unix.go#L80: if m.Header.Level != SOL_SOCKET {
syscall_linux.go#L764: sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
syscall_linux.go#L800: sockType, err = GetsockoptInt(fd, SOL_SOCKET, SO_TYPE)
syscall_linux.go#L826: return SetsockoptString(fd, SOL_SOCKET, SO_BINDTODEVICE, device)
zerrors_linux_amd64.go#L998: SOL_SOCKET = 0x1
net
fd_unix.go#L149: nerr, err := getsockoptIntFunc(fd.pfd.Sysfd, syscall.SOL_SOCKET, syscall.SO_ERROR)
file_unix.go#L36: sotype, err := syscall.GetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_TYPE)
mptcpsock_linux.go#L112: proto, _ := fd.pfd.GetsockoptInt(syscall.SOL_SOCKET, syscall.SO_PROTOCOL)
sockopt_linux.go#L21: return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_BROADCAST, 1))
sockopt_linux.go#L28: return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1))
sockopt_linux.go#L34: return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_REUSEADDR, 1))
sockopt_posix.go#L105: err := fd.pfd.SetsockoptInt(syscall.SOL_SOCKET, syscall.SO_RCVBUF, bytes)
sockopt_posix.go#L111: err := fd.pfd.SetsockoptInt(syscall.SOL_SOCKET, syscall.SO_SNDBUF, bytes)
sockopt_posix.go#L117: err := fd.pfd.SetsockoptInt(syscall.SOL_SOCKET, syscall.SO_KEEPALIVE, boolint(keepalive))
sockopt_posix.go#L131: err := fd.pfd.SetsockoptLinger(syscall.SOL_SOCKET, syscall.SO_LINGER, &l)
|
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. |