/PHP-8.2/ext/sockets/tests/ |
H A D | socket_set_option_seolinger.phpt | 18 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_LINGER, []); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_LINGER, $options); 26 $retval_3 = socket_get_option( $socket, SOL_SOCKET, SO_LINGER); 31 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_LINGER, $options_2));
|
H A D | socket_set_option_rcvtimeo.phpt | 18 $retval_1 = socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, []); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_RCVTIMEO, $options); 26 $retval_3 = socket_get_option( $socket, SOL_SOCKET, SO_RCVTIMEO);
|
H A D | socket_set_option_sndtimeo.phpt | 18 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_SNDTIMEO, []); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_SNDTIMEO, $options); 26 $retval_3 = socket_get_option( $socket, SOL_SOCKET, SO_SNDTIMEO);
|
H A D | socket_set_option_acf.phpt | 23 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_ACCEPTFILTER, 1)); 28 var_dump(socket_set_option( $socket, SOL_SOCKET, SO_ACCEPTFILTER, "httpready")); 29 var_dump(socket_get_option( $socket, SOL_SOCKET, SO_ACCEPTFILTER));
|
H A D | socket_setopt_basic.phpt | 18 $retval_1 = socket_setopt( $socket, SOL_SOCKET, SO_SNDTIMEO, $options); 19 $retval_2 = socket_getopt( $socket, SOL_SOCKET, SO_SNDTIMEO);
|
H A D | socket_set_option_bindtodevice.phpt | 26 $retval_1 = socket_set_option( $socket, SOL_SOCKET, SO_BINDTODEVICE, "lo"); 28 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_BINDTODEVICE, "ethIDONOTEXIST");
|
H A D | socket_cmsg_rights.phpt | 38 "level" => SOL_SOCKET, 50 "controllen" => socket_cmsg_space(SOL_SOCKET, SCM_RIGHTS, 4) 57 if ($control["level"] == SOL_SOCKET &&
|
H A D | socket_bpf_extensions.phpt | 17 $flags = socket_getopt( $socket, SOL_SOCKET, SO_BPF_EXTENSIONS);
|
H A D | socket_cmsg_credentials.phpt | 35 socket_set_option($s, SOL_SOCKET, SO_PASSCRED, 1) or die("could not set SO_PASSCRED"); 48 "controllen" => socket_cmsg_space(SOL_SOCKET, SCM_CREDENTIALS)
|
H A D | socket_set_option_error_socket_option.phpt | 27 socket_set_option( $socket, SOL_SOCKET, 1, 1);
|
H A D | socket_meminfo.phpt | 44 $data = socket_get_option($socket, SOL_SOCKET, SO_MEMINFO);
|
H A D | socket_sendto_zerocopy.phpt | 28 if (!socket_set_option($socket, SOL_SOCKET, SO_ZEROCOPY, 1)) {
|
H A D | socket_cmsg_credentials_fbsd.phpt | 39 "controllen" => socket_cmsg_space(SOL_SOCKET, SCM_CREDS2, 1)
|
H A D | socket_import_stream-4-win.phpt | 34 print_r(socket_get_option($sock, SOL_SOCKET, SO_TYPE));
|
H A D | socket_import_stream-4.phpt | 34 print_r(socket_get_option($sock, SOL_SOCKET, SO_TYPE));
|
H A D | socket_export_stream-4.phpt | 34 print_r(socket_get_option($sock, SOL_SOCKET, SO_TYPE));
|
H A D | socket_export_stream-4-win.phpt | 34 print_r(socket_get_option($sock, SOL_SOCKET, SO_TYPE));
|
/PHP-8.2/ext/sockets/ |
H A D | sendrecvmsg.c | 128 to_zval_read_ucred, SOL_SOCKET, SCM_CREDENTIALS); in init_ancillary_registry() 131 to_zval_read_ucred, SOL_SOCKET, SCM_CREDS); in init_ancillary_registry() 137 to_zval_read_ucred, SOL_SOCKET, SCM_CREDS2); in init_ancillary_registry() 140 to_zval_read_ucred, SOL_SOCKET, SCM_CREDS); in init_ancillary_registry() 145 to_zval_read_fd_array, SOL_SOCKET, SCM_RIGHTS); in init_ancillary_registry()
|
H A D | sockets.c | 1655 if (level == SOL_SOCKET) { 2134 if (getsockopt(socket, SOL_SOCKET, SO_DOMAIN, &type, &type_len) == 0) { 2237 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_TYPE, (char *) &protoid, &protoidlen); 2243 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_PROTOCOL, (char *) &protoid, &protoidlen); 2259 getsockopt(socket->bsd_socket, SOL_SOCKET, SO_TYPE, (char *) &type, &typelen);
|
H A D | sockets.stub.php | 324 const SOL_SOCKET = UNKNOWN; define
|
H A D | sockets_arginfo.h | 435 REGISTER_LONG_CONSTANT("SOL_SOCKET", SOL_SOCKET, CONST_PERSISTENT); in register_sockets_symbols()
|
/PHP-8.2/ext/standard/tests/mail/ |
H A D | mail_skipif.inc | 8 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_sockets.c | 217 if (0 > setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &flags, sizeof(flags))) { in fpm_sockets_new_listening_socket() 265 …if (0 > setsockopt(sock, SOL_SOCKET, SO_SETFIB, &wp->config->listen_setfib, sizeof(wp->config->lis… in fpm_sockets_new_listening_socket() 606 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLEN, &val, &len)) { in fpm_socket_get_listening_queue() 614 if (0 > getsockopt(sock, SOL_SOCKET, SO_LISTENQLIMIT, &val, &len)) { in fpm_socket_get_listening_queue()
|
/PHP-8.2/main/ |
H A D | network.c | 367 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char*)&error, &len) != 0) { 461 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (char*)&sockoptval, sizeof(sockoptval)); 471 setsockopt(sock, SOL_SOCKET, SO_REUSEPORT, (char*)&sockoptval, sizeof(sockoptval)); 476 setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&sockoptval, sizeof(sockoptval)); 911 setsockopt(sock, SOL_SOCKET, SO_BROADCAST, (char*)&val, sizeof(val));
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_vio.c | 60 int result = setsockopt(socketd, SOL_SOCKET, SO_KEEPALIVE, (char *) &flag, sizeof(int)); in mysqlnd_set_sock_keepalive()
|