Lines Matching refs:optname
216 ZEND_ARG_INFO(0, optname)
222 ZEND_ARG_INFO(0, optname)
1907 zend_long level, optname; local
1909 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &arg1, &level, &optname) == FAILURE) {
1918 switch (optname) {
1923 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1937 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optname, return_value);
1947 switch(optname) {
1951 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1966 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1973 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1991 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
2017 zend_long level, optname; local
2024 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rllz", &arg1, &level, &optname, &arg4) == FAILURE) {
2043 int res = php_do_setsockopt_ip_mcast(php_sock, level, optname, arg4);
2049 int res = php_do_setsockopt_ipv6_mcast(php_sock, level, optname, arg4);
2051 res = php_do_setsockopt_ipv6_rfc3542(php_sock, level, optname, arg4);
2057 switch (optname) {
2139 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);