Lines Matching refs:optname
216 ZEND_ARG_INFO(0, optname)
222 ZEND_ARG_INFO(0, optname)
1892 zend_long level, optname; local
1894 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &arg1, &level, &optname) == FAILURE) {
1903 switch (optname) {
1908 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1922 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optname, return_value);
1932 switch(optname) {
1936 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1951 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1958 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1976 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
2002 zend_long level, optname; local
2009 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllz", &arg1, &level, &optname, &arg4) == FAILURE) {
2028 int res = php_do_setsockopt_ip_mcast(php_sock, level, optname, arg4);
2034 int res = php_do_setsockopt_ipv6_mcast(php_sock, level, optname, arg4);
2036 res = php_do_setsockopt_ipv6_rfc3542(php_sock, level, optname, arg4);
2042 switch (optname) {
2124 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);