Home | History | Annotate | Download | only in net

Lines Matching refs:AF_INET

25 	s, err := socketFunc(syscall.AF_INET, syscall.SOCK_STREAM, syscall.IPPROTO_TCP)
100 // AF_INET and AF_INET6, and a wildcard address like following:
107 // wildcard address listen over an AF_INET socket.
119 // We use an IPv4 (AF_INET) wildcard address listen.
125 // Otherwise guess: if the addresses are IPv4 then returns AF_INET,
134 return syscall.AF_INET, false
144 return syscall.AF_INET, false
149 if (laddr == nil || laddr.family() == syscall.AF_INET) &&
150 (raddr == nil || raddr.family() == syscall.AF_INET) {
151 return syscall.AF_INET, false
165 case syscall.AF_INET: