/external/ppp/pppd/plugins/rp-pppoe/ |
if.c | 98 int optval=1; local 128 if (setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &optval, sizeof(optval)) < 0) {
|
pppoe-discovery.c | 103 int optval=1; local 132 if (setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &optval, sizeof(optval)) < 0) {
|
/external/strace/tests/ |
ip_mreq.c | 70 void *optval; member in struct:__anon31933 101 short_any[i].optval, 1); 104 *(unsigned char *) short_any[i].optval, 108 short_any[i].optval + 1, short_any[i].optsize); 111 short_any[i].optval + 1, short_any[i].optsize,
|
/external/strace/tests-m32/ |
ip_mreq.c | 70 void *optval; member in struct:__anon31999 101 short_any[i].optval, 1); 104 *(unsigned char *) short_any[i].optval, 108 short_any[i].optval + 1, short_any[i].optsize); 111 short_any[i].optval + 1, short_any[i].optsize,
|
/external/strace/tests-mx32/ |
ip_mreq.c | 70 void *optval; member in struct:__anon32065 101 short_any[i].optval, 1); 104 *(unsigned char *) short_any[i].optval, 108 short_any[i].optval + 1, short_any[i].optsize); 111 short_any[i].optval + 1, short_any[i].optsize,
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
setsockopt01.c | 63 int optval; variable 74 void *optval; member in struct:test_case_t 85 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 86 sizeof(optval), (struct sockaddr *)&fsin1, 90 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 91 sizeof(optval), (struct sockaddr *)&fsin1, 98 sizeof(optval), (struct sockaddr *)&fsin1, 104 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 0, 108 PF_INET, SOCK_STREAM, 0, 500, SO_OOBINLINE, &optval, 109 sizeof(optval), (struct sockaddr *)&fsin1 [all...] |
/external/ltp/testcases/kernel/syscalls/accept4/ |
accept4_01.c | 177 int optval; local 188 optval = 1; 189 if (setsockopt(lfd, SOL_SOCKET, SO_REUSEADDR, &optval, 190 sizeof(optval)) == -1)
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
getsockopt01.c | 62 int optval; variable 74 void *optval; member in struct:test_case_t 85 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 89 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 99 PF_INET, SOCK_STREAM, 0, SOL_SOCKET, SO_OOBINLINE, &optval, 0, 105 PF_INET, SOCK_STREAM, 0, 500, SO_OOBINLINE, &optval, &optlen, 109 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval, 113 PF_INET, SOCK_STREAM, 0, IPPROTO_UDP, SO_OOBINLINE, &optval, 118 PF_INET, SOCK_STREAM, 0, IPPROTO_IP, -1, &optval, &optlen, 122 PF_INET, SOCK_STREAM, 0, IPPROTO_TCP, -1, &optval, &optlen [all...] |
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
sockioctl01.c | 52 static int optval; variable 81 PF_INET, SOCK_STREAM, 0, SIOCATMARK, &optval, 85 PF_INET, SOCK_STREAM, 0, SIOCATMARK, &optval, 97 PF_INET, SOCK_DGRAM, 0, SIOCATMARK, &optval,
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_monitor.c | 345 int optval; local 414 optlen = sizeof(optval); 415 optval = 20; 417 (drv->monitor_sock, SOL_SOCKET, SO_PRIORITY, &optval, optlen)) {
|
/external/curl/lib/ |
connect.c | 110 int optval = data->set.tcp_keepalive?1:0; local 114 (void *)&optval, sizeof(optval)) < 0) { 122 optval = curlx_sltosi(data->set.tcp_keepidle); 123 KEEPALIVE_FACTOR(optval); 124 vals.keepalivetime = optval; 125 optval = curlx_sltosi(data->set.tcp_keepintvl); 126 KEEPALIVE_FACTOR(optval); 127 vals.keepaliveinterval = optval; 135 optval = curlx_sltosi(data->set.tcp_keepidle) [all...] |
/external/netcat/ |
netcat.c | 656 int flags, optval; local 669 optlen = sizeof(optval); 671 &optval, &optlen)) == 0) { 672 errno = optval; 673 ret = optval == 0 ? 0 : -1;
|
/external/openssh/ |
sshconnect.c | 338 int optval, rc, result = -1; local 381 optval = 0; 382 optlen = sizeof(optval); 383 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &optval, 388 if (optval != 0) { 389 errno = optval; [all...] |
/external/syslinux/core/lwip/src/api/ |
sockets.c | 118 void *optval; member in struct:lwip_setgetsockopt_data 119 /** size of *optval */ 1647 void *optval; local 2057 const void *optval; local [all...] |
/frameworks/native/libs/vr/libpdx_uds/ |
service_endpoint.cpp | 413 int optval = 1; local 414 if (setsockopt(local_socket->Get(), SOL_SOCKET, SO_PASSCRED, &optval, 415 sizeof(optval)) == -1) { 771 int optval = 1; local 772 if (setsockopt(channel_fd.Get(), SOL_SOCKET, SO_PASSCRED, &optval, 773 sizeof(optval)) == -1) {
|
/libcore/ojluni/src/main/native/ |
Net.c | 543 void* optval; local 549 optval = (void*)&mreq; 576 optval = (void*)&mreq_source; 581 n = setsockopt(fdval(env,fdo), IPPROTO_IP, opt, optval, optlen); 638 void* optval; local 644 optval = (void*)&mreq6; 653 optval = (void*)&req; 658 n = setsockopt(fdval(env,fdo), IPPROTO_IPV6, opt, optval, optlen);
|
net_util_md.c | 1079 int optval = 1; local 1081 (void *)&optval, sizeof(optval)) < 0) { [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/rdma/ |
rdma_user_cm.h | 231 __u64 optval; member in struct:rdma_ucm_set_option
|
/bionic/libc/kernel/uapi/rdma/ |
rdma_user_cm.h | 237 __u64 optval; member in struct:rdma_ucm_set_option
|
/external/fio/engines/ |
net.c | 749 int optval = 1; local 751 if (setsockopt(f->fd, IPPROTO_TCP, TCP_NODELAY, (void *) &optval, sizeof(int)) < 0) { 864 int optval = 1; local 866 if (setsockopt(f->fd, IPPROTO_TCP, TCP_NODELAY, (void *) &optval, sizeof(int)) < 0) {
|
/external/kernel-headers/original/uapi/rdma/ |
rdma_user_cm.h | 293 __u64 optval; member in struct:rdma_ucm_set_option
|
/external/libevent/ |
evutil.c | 452 int optval, optvallen=sizeof(optval); local 455 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, (void*)&optval, 458 if (optval) 459 return optval; [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_clientstub.c | 493 const unsigned long optval = 1; local 506 if (setsockopt(sdr->sockfd, SOL_SOCKET, SO_NOSIGPIPE, &optval, sizeof(optval)) < 0) [all...] |
/external/openssh/regress/ |
netcat.c | 670 int flags = 0, optval; local 683 optlen = sizeof(optval); 685 &optval, &optlen)) == 0) { 686 errno = optval; 687 ret = optval == 0 ? 0 : -1; [all...] |
/external/syslinux/com32/modules/ |
pxechn.c | 574 uint32_t optval = strtoul(istr, NULL, 0); local 580 if (optval & 0xFFFFFF00) 584 if (optval & 0xFFFF0000) 586 optval = htons(optval); 589 optval = htonl(optval); 592 memcpy(data, &optval, tlen); 595 uint64_t optval = strtoull(istr, NULL, 0); local 599 optval = htonq(optval) [all...] |