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

1 2 34 5 6 7 8 91011>>

  /external/dnsmasq/src/
network.c 304 if (setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 ||
305 setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 ||
306 setsockopt(fd, IPV6_LEVEL, IPV6_V6ONLY, &opt, sizeof(opt)) == -1 ||
307 setsockopt(tcpfd, IPV6_LEVEL, IPV6_V6ONLY, &opt, sizeof(opt)) == -1 ||
311 setsockopt(fd, IPV6_LEVEL, IPV6_RECVPKTINFO, &opt, sizeof(opt)) == -1 ||
313 setsockopt(fd, IPV6_LEVEL, IPV6_PKTINFO, &opt, sizeof(opt)) == -1 ||
355 if (setsockopt(tcpfd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 ||
362 setsockopt(fd, SOL_SOCKET, SO_REUSEADDR, &opt, sizeof(opt)) == -1 ||
365 setsockopt(fd, SOL_IP, IP_PKTINFO, &opt, sizeof(opt)) == -1 ||
367 setsockopt(fd, IPPROTO_IP, IP_RECVDSTADDR, &opt, sizeof(opt)) == -1 |
    [all...]
  /external/fio/engines/
net.c 241 ret = setsockopt(fd, SOL_SOCKET, SO_RCVBUF, (void *) &wss,
247 ret = setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (void *) &wss,
255 td_verror(td, -EINVAL, "setsockopt window size");
271 ret = setsockopt(fd, IPPROTO_TCP, TCP_MAXSEG, (void *) &mss,
274 td_verror(td, errno, "setsockopt TCP_MAXSEG");
278 td_verror(td, -EINVAL, "setsockopt TCP_MAXSEG");
748 if (setsockopt(f->fd, IPPROTO_TCP, TCP_NODELAY, (void *) &optval, sizeof(int)) < 0) {
781 if (setsockopt(f->fd, IPPROTO_IP, IP_MULTICAST_IF, (const char*)&interface_addr, sizeof(interface_addr)) < 0) {
782 td_verror(td, errno, "setsockopt IP_MULTICAST_IF");
787 if (setsockopt(f->fd, IPPROTO_IP, IP_MULTICAST_TTL, (const char*)&o->ttl, sizeof(o->ttl)) < 0)
    [all...]
  /external/iputils/
ping.c 163 (setsockopt(icmp_sock, IPPROTO_IP, IP_TOS,
333 rc = setsockopt(probe_fd, SOL_SOCKET, SO_BINDTODEVICE, device, strlen(device)+1);
345 if (setsockopt(probe_fd, SOL_IP, IP_MULTICAST_IF, &imr, sizeof(imr)) == -1) {
357 setsockopt(probe_fd, IPPROTO_IP, IP_TOS, (char *)&settos, sizeof(int)) < 0)
373 if (setsockopt(probe_fd, SOL_SOCKET, SO_BROADCAST,
458 if (setsockopt(icmp_sock, SOL_IP, IP_MTU_DISCOVER, &pmtudisc, sizeof(pmtudisc)) == -1) {
478 if (setsockopt(icmp_sock, SOL_RAW, ICMP_FILTER, (char*)&filt, sizeof(filt)) == -1)
479 perror("WARNING: setsockopt(ICMP_FILTER)");
483 if (setsockopt(icmp_sock, SOL_IP, IP_RECVERR, (char *)&hold, sizeof(hold)))
486 if (setsockopt(icmp_sock, SOL_IP, IP_RECVTTL, (char *)&hold, sizeof(hold))
    [all...]
  /external/mdnsresponder/mDNSPosix/
mDNSPosix.c 651 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEPORT, &kOn, sizeof(kOn));
653 err = setsockopt(*sktPtr, SOL_SOCKET, SO_REUSEADDR, &kOn, sizeof(kOn));
657 if (err < 0) { err = errno; perror("setsockopt - SO_REUSExxxx"); }
668 err = setsockopt(*sktPtr, IPPROTO_IP, IP_PKTINFO, &kOn, sizeof(kOn));
669 if (err < 0) { err = errno; perror("setsockopt - IP_PKTINFO"); }
672 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVDSTADDR, &kOn, sizeof(kOn));
673 if (err < 0) { err = errno; perror("setsockopt - IP_RECVDSTADDR"); }
678 err = setsockopt(*sktPtr, IPPROTO_IP, IP_RECVIF, &kOn, sizeof(kOn));
679 if (err < 0) { err = errno; perror("setsockopt - IP_RECVIF"); }
689 setsockopt(*sktPtr, IPPROTO_IP, IP_RECVTTL, &kOn, sizeof(kOn))
    [all...]
  /external/libvncserver/libvncclient/
sockets.c 348 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY,
350 rfbClientErr("ConnectToTcpAddr: setsockopt\n");
403 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY,
405 rfbClientErr("ConnectToTcpAddr: setsockopt\n");
528 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
530 rfbClientErr("ListenAtTcpPort: setsockopt\n");
569 if (p->ai_family == AF_INET6 && setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof(one)) < 0) {
570 rfbClientErr("ListenAtTcpPortAndAddress: error in setsockopt IPV6_V6ONLY: %s\n", strerror(errno));
577 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *)&one, sizeof(one)) < 0) {
578 rfbClientErr("ListenAtTcpPortAndAddress: error in setsockopt SO_REUSEADDR: %s\n", strerror(errno))
    [all...]
  /external/netcat/
netcat.c 606 if (setsockopt(s, SOL_SOCKET, SO_RTABLE, &rtableid,
608 err(1, "setsockopt SO_RTABLE");
618 setsockopt(s, SOL_SOCKET, SO_BINDANY, &on, sizeof(on));
721 if (setsockopt(s, IPPROTO_IP, SO_RTABLE, &rtableid,
723 err(1, "setsockopt SO_RTABLE");
728 ret = setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &x, sizeof(x));
730 ret = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &x, sizeof(x));
955 if (setsockopt(s, IPPROTO_TCP, TCP_MD5SIG,
961 if (setsockopt(s, SOL_SOCKET, SO_DEBUG,
967 if (setsockopt(s, SOL_SOCKET, SO_JUMBO
    [all...]
  /cts/suite/audio_quality/lib/src/
ClientSocket.cpp 49 if (setsockopt(mSocket, SOL_SOCKET, SO_REUSEADDR, &reuse, sizeof(reuse)) == -1) {
50 LOGE("setsockopt error %d", errno);
  /external/wpa_supplicant_8/src/drivers/
driver_wired.c 101 if (setsockopt(sock, SOL_PACKET,
104 wpa_printf(MSG_ERROR, "setsockopt: %s", strerror(errno));
283 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_REUSEADDR, (char *) &n,
285 wpa_printf(MSG_ERROR, "setsockopt[SOL_SOCKET,SO_REUSEADDR]: %s",
289 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BROADCAST, (char *) &n,
291 wpa_printf(MSG_ERROR, "setsockopt[SOL_SOCKET,SO_BROADCAST]: %s",
298 if (setsockopt(drv->dhcp_sock, SOL_SOCKET, SO_BINDTODEVICE,
301 "setsockopt[SOL_SOCKET,SO_BINDTODEVICE]: %s",
  /system/connectivity/shill/net/
netlink_socket.cc 140 int err = setsockopt(file_descriptor_, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP,
143 PLOG(ERROR) << "setsockopt didn't work.";
  /system/core/libcutils/
debugger.c 61 if (setsockopt(sock_fd, SOL_SOCKET, SO_RCVTIMEO, &tm, sizeof(tm)) == -1) {
65 if (setsockopt(sock_fd, SOL_SOCKET, SO_SNDTIMEO, &tm, sizeof(tm)) == -1) {
uevent.c 119 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &buf_sz, sizeof(buf_sz));
120 setsockopt(s, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
  /device/generic/goldfish/opengl/shared/OpenglCodecCommon/
TcpStream.cpp 47 setsockopt( sock, IPPROTO_TCP, TCP_NODELAY, (const char*)&flag, sizeof(flag) );
  /external/iproute2/include/linux/
netfilter_ipv4.h 72 /* Arguments for setsockopt SOL_IP: */
  /external/iptables/include/linux/
netfilter_ipv4.h 68 /* Arguments for setsockopt SOL_IP: */
  /external/iptables/iptables/
xshared.h 37 * @ipproto: used by setsockopt (e.g. IPPROTO_IP)
  /external/kernel-headers/original/uapi/linux/
netfilter_ipv4.h 74 /* Arguments for setsockopt SOL_IP: */
  /external/strace/xlat/
setsockipoptions.h 12 * Options specific to setsockopt(SOL_IP).
  /external/valgrind/none/tests/
fdleak_ipv4.c 23 (void) DO( setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(int)) );
  /external/webrtc/webrtc/test/channel_transport/
udp_socket_posix.h 40 bool SetSockopt(int32_t level,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/
netfilter_ipv4.h 68 /* Arguments for setsockopt SOL_IP: */
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/
netfilter_ipv4.h 71 /* Arguments for setsockopt SOL_IP: */
  /system/extras/tests/net_test/
multinetwork_test.py 98 s.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
270 s.setsockopt(net_test.SOL_IPV6, net_test.IPV6_FLOWINFO_SEND, 1)
280 s.setsockopt(net_test.SOL_IPV6, IPV6_DSTOPTS, dstopts)
281 s.setsockopt(net_test.SOL_IPV6, IPV6_UNICAST_HOPS, 255)
286 s.setsockopt(net_test.SOL_IPV6, IPV6_PKTINFO, pktinfo)
324 s.setsockopt(net_test.SOL_IP, IP_TTL, 39)
325 s.setsockopt(net_test.SOL_IP, IP_TOS, 0x83)
428 cls.listensocket.setsockopt(SOL_SOCKET, SO_REUSEADDR, 1)
436 s.setsockopt(net_test.SOL_IP, IP_TOS, 53)
437 s.setsockopt(net_test.SOL_IP, IP_TOS, tos
    [all...]
  /external/curl/lib/
curl_rtmp.c 40 #define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e) macro
216 setsockopt(r->m_sb.sb_socket, SOL_SOCKET, SO_RCVTIMEO,
  /external/iproute2/tc/
q_atm.c 156 if (setsockopt(s,SOL_ATM,SO_ATMQOS,&qos,sizeof(qos)) < 0) {
161 if (setsockopt(s,SOL_SOCKET,SO_SNDBUF,&sndbuf,sizeof(sndbuf)) < 0) {
165 if (addr.sas_family == AF_ATMSVC && setsockopt(s,SOL_ATM,SO_ATMSAP,
  /external/libvncserver/libvncserver/
sockets.c 147 if (setsockopt(rfbScreen->inetdSock, IPPROTO_TCP, TCP_NODELAY,
149 rfbLogPerror("setsockopt");
446 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY,
448 rfbLogPerror("rfbCheckFds: setsockopt");
549 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY,
551 rfbLogPerror("setsockopt failed");
869 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
921 if (setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof(one)) < 0) {
922 rfbLogPerror("rfbListenOnTCP6Port error in setsockopt IPV6_V6ONLY");
929 if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char *)&one, sizeof(one)) < 0)
    [all...]

Completed in 2380 milliseconds

1 2 34 5 6 7 8 91011>>