Lines Matching refs:optname
1756 zend_long level, optname; local
1758 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Oll", &arg1, socket_ce, &level, &optname) == FAILURE) {
1766 switch (optname) {
1771 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1785 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optname, return_value);
1795 switch (optname) {
1799 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1814 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1821 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1841 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&af, &optlen) != 0) {
1857 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
1882 zend_long level, optname; local
1888 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "Ollz", &arg1, socket_ce, &level, &optname, &arg4) == F…
1906 int res = php_do_setsockopt_ip_mcast(php_sock, level, optname, arg4);
1912 int res = php_do_setsockopt_ipv6_mcast(php_sock, level, optname, arg4);
1914 res = php_do_setsockopt_ipv6_rfc3542(php_sock, level, optname, arg4);
1920 switch (optname) {
2016 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);