Lines Matching full:syscall
11 "syscall"
19 if err := syscall.SetNonblock(s, true); err != nil {
31 family := syscall.AF_UNSPEC
32 sotype, err := syscall.GetsockoptInt(s, syscall.SOL_SOCKET, syscall.SO_TYPE)
37 lsa, _ := syscall.Getsockname(s)
38 rsa, _ := syscall.Getpeername(s)
40 case *syscall.SockaddrInet4:
41 family = syscall.AF_INET
42 case *syscall.SockaddrInet6:
43 family = syscall.AF_INET6
44 case *syscall.SockaddrUnix:
45 family = syscall.AF_UNIX
48 return nil, syscall.EPROTONOSUPPORT
82 return nil, syscall.EINVAL
97 return nil, syscall.EINVAL
114 return nil, syscall.EINVAL