Lines Matching refs:optname

1649 	zend_long			level, optname;  local
1654 Z_PARAM_LONG(optname)
1661 switch (optname) {
1666 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1680 int ret = php_do_getsockopt_ipv6_rfc3542(php_sock, level, optname, return_value);
1690 switch (optname) {
1695 if (getsockopt(php_sock->bsd_socket, level, optname, name, &optlen) != 0) {
1710 switch (optname) {
1717 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&linger_val, &optlen) != 0) {
1732 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&tv, &optlen) != 0) {
1739 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&timeout, &optlen) != 0) {
1758 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)minfo, &optlen) != 0) {
1790 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&af, &optlen) != 0) {
1807 switch (optname) {
1814 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)fi, &optlen) != 0) {
1833 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&other_val, &optlen) != 0) {
1858 zend_long level, optname; local
1867 Z_PARAM_LONG(optname)
1885 int res = php_do_setsockopt_ip_mcast(php_sock, level, optname, arg4);
1891 int res = php_do_setsockopt_ipv6_mcast(php_sock, level, optname, arg4);
1893 res = php_do_setsockopt_ipv6_rfc3542(php_sock, level, optname, arg4);
1900 switch (optname) {
1910 if (setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen) != 0) {
1921 switch (optname) {
2035 optname = SO_DETACH_BPF;
2072 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen);