/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt01.c | 63 int optval; variable 74 void *optval; member 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/syslinux/core/lwip/src/api/ |
D | sockets.c | 118 void *optval; member 1442 lwip_getsockopt(int s, int level, int optname, void *optval, socklen_t *optlen) argument 1452 if ((NULL == optval) || (NULL == optlen)) { 1627 data.optval = optval; 1647 void *optval; local 1659 optval = data->optval; 1679 *(int*)optval = sock->conn->pcb.ip->so_options & optname; 1681 s, optname, (*(int*)optval?"on":"off"))); 1687 *(int*)optval = SOCK_RAW; 1690 *(int*)optval = SOCK_STREAM; [all …]
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt01.c | 62 int optval; variable 74 void *optval; member 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/strace/tests/ |
D | net-yy-inet.c | 83 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 84 *len = sizeof(*optval); in main() 85 if (getsockopt(listen_fd, SOL_TCP, TCP_MAXSEG, optval, len)) in main() 89 listen_fd, listen_port, *optval, (unsigned) *len); in main() 139 *len = sizeof(*optval); in main() 140 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) in main() 144 connect_fd, connect_port, listen_port, *optval, in main()
|
D | net-y-unix.c | 77 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 78 *len = sizeof(*optval); in main() 79 if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) in main() 83 listen_fd, listen_inode, *optval, (unsigned) *len); in main() 155 *optval = 1; in main() 156 *len = sizeof(*optval); in main() 157 if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) in main() 161 connect_fd, connect_inode, *optval, (unsigned) *len); in main()
|
D | net-yy-unix.c | 78 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 79 *len = sizeof(*optval); in main() 80 if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) in main() 84 listen_fd, listen_inode, TEST_SOCKET, *optval, (unsigned) *len); in main() 159 *optval = 1; in main() 160 *len = sizeof(*optval); in main() 161 if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) in main() 165 connect_fd, connect_inode, *optval, (unsigned) *len); in main()
|
D | ip_mreq.c | 70 void *optval; in main() member 101 short_any[i].optval, 1); in main() 104 *(unsigned char *) short_any[i].optval, in main() 108 short_any[i].optval + 1, short_any[i].optsize); in main() 111 short_any[i].optval + 1, short_any[i].optsize, in main()
|
/external/strace/tests-mx32/ |
D | net-yy-inet.c | 83 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 84 *len = sizeof(*optval); in main() 85 if (getsockopt(listen_fd, SOL_TCP, TCP_MAXSEG, optval, len)) in main() 89 listen_fd, listen_port, *optval, (unsigned) *len); in main() 139 *len = sizeof(*optval); in main() 140 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) in main() 144 connect_fd, connect_port, listen_port, *optval, in main()
|
D | net-y-unix.c | 77 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 78 *len = sizeof(*optval); in main() 79 if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) in main() 83 listen_fd, listen_inode, *optval, (unsigned) *len); in main() 155 *optval = 1; in main() 156 *len = sizeof(*optval); in main() 157 if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) in main() 161 connect_fd, connect_inode, *optval, (unsigned) *len); in main()
|
D | net-yy-unix.c | 78 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 79 *len = sizeof(*optval); in main() 80 if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) in main() 84 listen_fd, listen_inode, TEST_SOCKET, *optval, (unsigned) *len); in main() 159 *optval = 1; in main() 160 *len = sizeof(*optval); in main() 161 if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) in main() 165 connect_fd, connect_inode, *optval, (unsigned) *len); in main()
|
D | ip_mreq.c | 70 void *optval; in main() member 101 short_any[i].optval, 1); in main() 104 *(unsigned char *) short_any[i].optval, in main() 108 short_any[i].optval + 1, short_any[i].optsize); in main() 111 short_any[i].optval + 1, short_any[i].optsize, in main()
|
/external/strace/tests-m32/ |
D | net-yy-inet.c | 83 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 84 *len = sizeof(*optval); in main() 85 if (getsockopt(listen_fd, SOL_TCP, TCP_MAXSEG, optval, len)) in main() 89 listen_fd, listen_port, *optval, (unsigned) *len); in main() 139 *len = sizeof(*optval); in main() 140 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) in main() 144 connect_fd, connect_port, listen_port, *optval, in main()
|
D | net-y-unix.c | 77 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 78 *len = sizeof(*optval); in main() 79 if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) in main() 83 listen_fd, listen_inode, *optval, (unsigned) *len); in main() 155 *optval = 1; in main() 156 *len = sizeof(*optval); in main() 157 if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) in main() 161 connect_fd, connect_inode, *optval, (unsigned) *len); in main()
|
D | net-yy-unix.c | 78 TAIL_ALLOC_OBJECT_CONST_PTR(unsigned int, optval); in main() 79 *len = sizeof(*optval); in main() 80 if (getsockopt(listen_fd, SOL_SOCKET, SO_PASSCRED, optval, len)) in main() 84 listen_fd, listen_inode, TEST_SOCKET, *optval, (unsigned) *len); in main() 159 *optval = 1; in main() 160 *len = sizeof(*optval); in main() 161 if (setsockopt(connect_fd, SOL_SOCKET, SO_PASSCRED, optval, *len)) in main() 165 connect_fd, connect_inode, *optval, (unsigned) *len); in main()
|
D | ip_mreq.c | 70 void *optval; in main() member 101 short_any[i].optval, 1); in main() 104 *(unsigned char *) short_any[i].optval, in main() 108 short_any[i].optval + 1, short_any[i].optsize); in main() 111 short_any[i].optval + 1, short_any[i].optsize, in main()
|
/external/curl/lib/ |
D | connect.c | 110 int optval = data->set.tcp_keepalive?1:0; in tcpkeepalive() local 114 (void *)&optval, sizeof(optval)) < 0) { in tcpkeepalive() 122 optval = curlx_sltosi(data->set.tcp_keepidle); in tcpkeepalive() 123 KEEPALIVE_FACTOR(optval); in tcpkeepalive() 124 vals.keepalivetime = optval; in tcpkeepalive() 125 optval = curlx_sltosi(data->set.tcp_keepintvl); in tcpkeepalive() 126 KEEPALIVE_FACTOR(optval); in tcpkeepalive() 127 vals.keepaliveinterval = optval; in tcpkeepalive() 135 optval = curlx_sltosi(data->set.tcp_keepidle); in tcpkeepalive() 136 KEEPALIVE_FACTOR(optval); in tcpkeepalive() [all …]
|
/external/python/cpython2/Lib/ |
D | ConfigParser.py | 517 optname, vi, optval = mo.group('option', 'vi', 'value') 521 if optval is not None: 522 if vi in ('=', ':') and ';' in optval: 525 pos = optval.find(';') 526 if pos != -1 and optval[pos-1].isspace(): 527 optval = optval[:pos] 528 optval = optval.strip() 530 if optval == '""': 531 optval = '' 532 cursect[optname] = [optval] [all …]
|
/external/libvpx/libvpx/build/make/ |
D | gen_msvs_vcxproj.sh | 140 optval="${opt#*=}" 144 --target=*) target="${optval}" 146 --out=*) outfile="$optval" 148 --name=*) name="${optval}" 150 --proj-guid=*) guid="${optval}" 152 --module-def=*) module_def="${optval}" 161 src_path_bare=$(fix_path "$optval") 169 vs_ver="$optval" 170 case "$optval" in
|
D | msvs_common.sh | 74 optval="${opt#*=}" 75 [ -n "${optval}" ] || 77 echo "${indent}${opt%%=*}=\"${optval}\""
|
D | gen_asm_deps.sh | 27 optval="${opt#*=}" 29 --build-pfx=*) pfx="${optval}" 31 --depfile=*) out="${optval}"
|
D | configure.sh | 508 optval="${opt#*=}" 514 logging="$optval" 522 toolchain="${toolchain:-${optval}}" 525 toolchain="${toolchain:-${optval}}" 529 tune_cpu="$optval" 532 extra_cflags="${optval}" 535 extra_cxxflags="${optval}" 563 [ -d "${optval}" ] || die "Not a directory: ${optval}" 565 alt_libc="${optval}" 568 [ "${optval}" = yasm ] || [ "${optval}" = nasm ] \ [all …]
|
D | gen_msvs_def.sh | 63 optval="${opt#*=}" 67 --out=*) outfile="$optval" 69 --name=*) name="${optval}"
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 177 int optval; in create_listening_socket() local 188 optval = 1; in create_listening_socket() 189 if (setsockopt(lfd, SOL_SOCKET, SO_REUSEADDR, &optval, in create_listening_socket() 190 sizeof(optval)) == -1) in create_listening_socket()
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | 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/ppp/pppd/plugins/rp-pppoe/ |
D | if.c | 98 int optval=1; in openInterface() local 128 if (setsockopt(fd, SOL_SOCKET, SO_BROADCAST, &optval, sizeof(optval)) < 0) { in openInterface()
|