HomeSort by relevance Sort by last modified time
    Searched full:sotype (Results 1 - 25 of 58) sorted by null

1 2 3

  /prebuilts/go/darwin-x86/src/net/
fd_posix_test.go 21 {100, nil, &netFD{sotype: syscall.SOCK_STREAM}, nil},
22 {100, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF},
23 {100, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing},
24 {0, nil, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF},
25 {0, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF},
26 {0, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing},
28 {100, nil, &netFD{sotype: syscall.SOCK_DGRAM}, nil},
29 {100, io.EOF, &netFD{sotype: syscall.SOCK_DGRAM}, io.EOF},
30 {100, errClosing, &netFD{sotype: syscall.SOCK_DGRAM}, errClosing},
31 {0, nil, &netFD{sotype: syscall.SOCK_DGRAM}, nil}
    [all...]
fd_posix.go 17 if n == 0 && err == nil && fd.sotype != syscall.SOCK_DGRAM && fd.sotype != syscall.SOCK_RAW {
sock_windows.go 18 func sysSocket(family, sotype, proto int) (syscall.Handle, error) {
21 s, err := socketFunc(family, sotype, proto)
sockopt_bsd.go 15 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
16 if runtime.GOOS == "dragonfly" && sotype != syscall.SOCK_RAW {
28 if supportsIPv4map && family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
sockopt_stub.go 11 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
sockopt_linux.go 12 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
sockopt_solaris.go 12 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
sockopt_windows.go 12 func setDefaultSockopts(s syscall.Handle, family, sotype int, ipv6only bool) error {
13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
  /prebuilts/go/linux-x86/src/net/
fd_posix_test.go 21 {100, nil, &netFD{sotype: syscall.SOCK_STREAM}, nil},
22 {100, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF},
23 {100, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing},
24 {0, nil, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF},
25 {0, io.EOF, &netFD{sotype: syscall.SOCK_STREAM}, io.EOF},
26 {0, errClosing, &netFD{sotype: syscall.SOCK_STREAM}, errClosing},
28 {100, nil, &netFD{sotype: syscall.SOCK_DGRAM}, nil},
29 {100, io.EOF, &netFD{sotype: syscall.SOCK_DGRAM}, io.EOF},
30 {100, errClosing, &netFD{sotype: syscall.SOCK_DGRAM}, errClosing},
31 {0, nil, &netFD{sotype: syscall.SOCK_DGRAM}, nil}
    [all...]
fd_posix.go 17 if n == 0 && err == nil && fd.sotype != syscall.SOCK_DGRAM && fd.sotype != syscall.SOCK_RAW {
sock_windows.go 18 func sysSocket(family, sotype, proto int) (syscall.Handle, error) {
21 s, err := socketFunc(family, sotype, proto)
sockopt_bsd.go 15 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
16 if runtime.GOOS == "dragonfly" && sotype != syscall.SOCK_RAW {
28 if supportsIPv4map && family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
sockopt_stub.go 11 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
sockopt_linux.go 12 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
sockopt_solaris.go 12 func setDefaultSockopts(s, family, sotype int, ipv6only bool) error {
13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
sockopt_windows.go 12 func setDefaultSockopts(s syscall.Handle, family, sotype int, ipv6only bool) error {
13 if family == syscall.AF_INET6 && sotype != syscall.SOCK_RAW {
  /prebuilts/go/darwin-x86/src/net/internal/socktest/
switch_posix.go 27 func typeString(sotype int) string {
29 switch sotype & 0xff {
39 s = fmt.Sprintf("%d", sotype&0xff)
41 if flags := uint(sotype) & ^uint(0xff); flags != 0 {
switch_unix.go 24 func (sw *Switch) addLocked(s, family, sotype, proto int) *Status {
26 so := Status{Cookie: cookie(family, sotype, proto)}
switch_windows.go 24 func (sw *Switch) addLocked(s syscall.Handle, family, sotype, proto int) *Status {
26 so := Status{Cookie: cookie(family, sotype, proto)}
switch_stub.go 14 func typeString(sotype int) string { return "<nil>" }
  /prebuilts/go/linux-x86/src/net/internal/socktest/
switch_posix.go 27 func typeString(sotype int) string {
29 switch sotype & 0xff {
39 s = fmt.Sprintf("%d", sotype&0xff)
41 if flags := uint(sotype) & ^uint(0xff); flags != 0 {
switch_unix.go 24 func (sw *Switch) addLocked(s, family, sotype, proto int) *Status {
26 so := Status{Cookie: cookie(family, sotype, proto)}
switch_windows.go 24 func (sw *Switch) addLocked(s syscall.Handle, family, sotype, proto int) *Status {
26 so := Status{Cookie: cookie(family, sotype, proto)}
switch_stub.go 14 func typeString(sotype int) string { return "<nil>" }
  /libcore/ojluni/src/main/native/
InheritedChannel.c 96 int sotype; local
97 socklen_t arglen=sizeof(sotype);
98 if (getsockopt(fd, SOL_SOCKET, SO_TYPE, (void *)&sotype, &arglen) == 0) {
99 if (sotype == SOCK_STREAM)
101 if (sotype == SOCK_DGRAM)

Completed in 670 milliseconds

1 2 3