Home
last modified time | relevance | path

Searched refs:bsd_socket (Results 1 – 6 of 6) sorted by relevance

/PHP-7.0/ext/sockets/
H A Dsockets.c416 close(php_sock->bsd_socket); in php_destroy_socket()
459 close(sock->bsd_socket);
466 close(sock->bsd_socket);
481 out_sock->bsd_socket = accept(in_sock->bsd_socket, la, la_len);
507 m = fcntl(sock->bsd_socket, F_GETFL);
798 if (php_sock->bsd_socket > *max_fd) {
799 *max_fd = php_sock->bsd_socket;
2176 php_sock[0]->bsd_socket = fds_array[0];
2177 php_sock[1]->bsd_socket = fds_array[1];
2283 retsock->bsd_socket = socket;
[all …]
H A Dmulticast.c307 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
372 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()
467 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
486 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
499 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
533 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()
555 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()
733 if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) {
744 if (ioctl(php_sock->bsd_socket, SIOCGIFADDR, &if_req) == -1) {
775 if (ioctl(php_sock->bsd_socket, SIOCGIFCONF, (char*)&if_conf) == -1 &&
[all …]
H A Dsendrecvmsg.c197 res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
242 res = recvmsg(php_sock->bsd_socket, msghdr, (int)flags); in PHP_FUNCTION()
361 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_rfc3542()
392 res = getsockopt(php_sock->bsd_socket, level, optname, buffer, &size); in php_do_getsockopt_ipv6_rfc3542()
H A Dphp_sockets.h60 PHP_SOCKET bsd_socket; member
H A Dwindows_common.h26 #define IS_INVALID_SOCKET(a) (a->bsd_socket == INVALID_SOCKET)
H A Dconversions.c1261 } else if (ioctl(ctx->sock->bsd_socket, SIOCGIFINDEX, &ifr) < 0) { in from_zval_write_ifindex()
1357 iarr[i] = sock->bsd_socket; in from_zval_write_fd_array_aux()

Completed in 27 milliseconds