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

1 2 3 4 5 6 7 8 91011>>

  /bionic/libc/arch-arm64/syscalls/
setsockopt.S 5 ENTRY(setsockopt) function
14 END(setsockopt)
  /external/strace/tests/
ip_mreq.test 3 # Check {IP,IPV6}_{ADD,DROP}_MEMBERSHIP setsockopt decoding.
8 run_strace -e setsockopt $args
ip_mreq.expected 0 setsockopt\(0, SOL_IP, IP_ADD_MEMBERSHIP, "\\340", 1\) = -1 EINVAL .*
2 setsockopt\(0, SOL_IP, IP_DROP_MEMBERSHIP, "\\340", 1\) = -1 EINVAL .*
3 setsockopt\(0, SOL_IP, IP_ADD_MEMBERSHIP, \{imr_multiaddr=inet_addr\("224\.0\.0\.3"\), imr_interface=inet_addr\("127\.0\.0\.1"\)\}, 8\) = 0
4 setsockopt\(0, SOL_IP, IP_DROP_MEMBERSHIP, \{imr_multiaddr=inet_addr\("224\.0\.0\.3"\), imr_interface=inet_addr\("127\.0\.0\.1"\)\}, 8\) = 0
5 setsockopt\(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, "\\377", 1\) = -1 ENOPROTOOPT .*
6 setsockopt\(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, "\\377", 1\) = -1 ENOPROTOOPT .*
7 setsockopt\(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_interface=if_nametoindex\("lo"\)\}, 20\) = -1 ENOPROTOOPT .*
8 setsockopt\(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, \{ipv6mr_multiaddr=inet_pton\("ff01::c"\), ipv6mr_interface=if_nametoindex\("lo"\)\}, 20\) = -1 ENOPROTOOPT .*
9 setsockopt\(0, SOL_IPV6, IPV6_JOIN_ANYCAST, "\\377", 1\) = -1 ENOPROTOOPT .*
10 setsockopt\(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, "\\377", 1\) = -1 ENOPROTOOPT .
    [all...]
ip_mreq.c 53 assert(setsockopt(0, SOL_IP, IP_ADD_MEMBERSHIP, &m4, 1) == -1);
54 assert(setsockopt(0, SOL_IP, IP_DROP_MEMBERSHIP, &m4, 1) == -1);
55 if (setsockopt(0, SOL_IP, IP_ADD_MEMBERSHIP, &m4, sizeof(m4)) ||
56 setsockopt(0, SOL_IP, IP_DROP_MEMBERSHIP, &m4, sizeof(m4)))
59 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, 1) == -1);
60 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, 1) == -1);
61 assert(setsockopt(0, SOL_IPV6, IPV6_ADD_MEMBERSHIP, &m6, sizeof(m6)) == -1);
62 assert(setsockopt(0, SOL_IPV6, IPV6_DROP_MEMBERSHIP, &m6, sizeof(m6)) == -1);
64 assert(setsockopt(0, SOL_IPV6, IPV6_JOIN_ANYCAST, &m6, 1) == -1);
65 assert(setsockopt(0, SOL_IPV6, IPV6_LEAVE_ANYCAST, &m6, 1) == -1)
    [all...]
  /external/strace/xlat/
setsockipv6options.in 2 * Options specific to setsockopt(SOL_IPV6).
setsockipoptions.in 2 * Options specific to setsockopt(SOL_IP).
setsockipv6options.h 12 * Options specific to setsockopt(SOL_IPV6).
  /bionic/libc/arch-mips/syscalls/
setsockopt.S 5 ENTRY(setsockopt) function
19 END(setsockopt)
  /bionic/libc/arch-x86_64/syscalls/
setsockopt.S 5 ENTRY(setsockopt) function
16 END(setsockopt)
  /prebuilts/go/darwin-x86/src/net/
sockoptip_windows.go 16 return os.NewSyscallError("setsockopt", err)
24 return os.NewSyscallError("setsockopt", syscall.Setsockopt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, (*byte)(unsafe.Pointer(&a[0])), 4))
32 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v)))
sockoptip_bsd.go 17 return os.NewSyscallError("setsockopt", err)
25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInet4Addr(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, a))
33 return os.NewSyscallError("setsockopt", syscall.SetsockoptByte(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, byte(boolint(v))))
sockoptip_linux.go 22 return os.NewSyscallError("setsockopt", syscall.SetsockoptIPMreqn(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, mreq))
30 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v)))
tcpsockopt_darwin.go 26 return os.NewSyscallError("setsockopt", err)
28 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE, secs))
tcpsockopt_dragonfly.go 23 return os.NewSyscallError("setsockopt", err)
25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, msecs))
tcpsockopt_unix.go 24 return os.NewSyscallError("setsockopt", err)
26 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs))
  /prebuilts/go/linux-x86/src/net/
sockoptip_windows.go 16 return os.NewSyscallError("setsockopt", err)
24 return os.NewSyscallError("setsockopt", syscall.Setsockopt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, (*byte)(unsafe.Pointer(&a[0])), 4))
32 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v)))
sockoptip_bsd.go 17 return os.NewSyscallError("setsockopt", err)
25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInet4Addr(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, a))
33 return os.NewSyscallError("setsockopt", syscall.SetsockoptByte(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, byte(boolint(v))))
sockoptip_linux.go 22 return os.NewSyscallError("setsockopt", syscall.SetsockoptIPMreqn(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_IF, mreq))
30 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_IP, syscall.IP_MULTICAST_LOOP, boolint(v)))
tcpsockopt_darwin.go 26 return os.NewSyscallError("setsockopt", err)
28 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPALIVE, secs))
tcpsockopt_dragonfly.go 23 return os.NewSyscallError("setsockopt", err)
25 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, msecs))
tcpsockopt_unix.go 24 return os.NewSyscallError("setsockopt", err)
26 return os.NewSyscallError("setsockopt", syscall.SetsockoptInt(fd.sysfd, syscall.IPPROTO_TCP, syscall.TCP_KEEPIDLE, secs))
  /bionic/libc/arch-arm/syscalls/
setsockopt.S 5 ENTRY(setsockopt) function
22 END(setsockopt)
  /bionic/libc/arch-mips64/syscalls/
setsockopt.S 5 ENTRY(setsockopt) function
25 END(setsockopt)
  /bionic/libc/arch-x86/syscalls/
setsockopt.S 5 ENTRY(setsockopt) function
35 END(setsockopt)
  /frameworks/base/core/jni/
android_net_NetUtils.cpp 84 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &filter, sizeof(filter)) != 0) {
86 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno));
122 if (setsockopt(fd, SOL_SOCKET, SO_ATTACH_FILTER, &filter, sizeof(filter)) != 0) {
124 "setsockopt(SO_ATTACH_FILTER): %s", strerror(errno));
140 if (setsockopt(fd, IPPROTO_ICMPV6, ICMP6_FILTER, &rs_only, len) != 0) {
142 "setsockopt(ICMP6_FILTER): %s", strerror(errno));
155 if (setsockopt(fd, IPPROTO_IPV6, IPV6_MULTICAST_HOPS, &hops, len) != 0) {
157 "setsockopt(IPV6_MULTICAST_HOPS): %s", strerror(errno));
164 if (setsockopt(fd, IPPROTO_IPV6, IPV6_UNICAST_HOPS, &hops, len) != 0) {
166 "setsockopt(IPV6_UNICAST_HOPS): %s", strerror(errno))
    [all...]

Completed in 270 milliseconds

1 2 3 4 5 6 7 8 91011>>