Searched refs:bsd_socket (Results 1 – 6 of 6) sorted by relevance
/PHP-8.1/ext/sockets/ |
H A D | sockets.c | 133 close(socket->bsd_socket); in socket_free_obj() 256 close(sock->bsd_socket); 262 close(sock->bsd_socket); 272 out_sock->bsd_socket = accept(in_sock->bsd_socket, la, la_len); 981 php_socket->bsd_socket = -1; 2173 retsock->bsd_socket = socket; 2458 close(php_sock->bsd_socket); 2466 close(php_sock->bsd_socket); 2522 close(php_sock->bsd_socket); 2529 close(php_sock->bsd_socket); [all …]
|
H A D | multicast.c | 295 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast() 359 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast() 454 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave() 474 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave() 488 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave() 521 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op() 543 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op() 727 if (ioctl(php_sock->bsd_socket, SIOCGIFNAME, &if_req) == -1) { 738 if (ioctl(php_sock->bsd_socket, SIOCGIFADDR, &if_req) == -1) { 769 if (ioctl(php_sock->bsd_socket, SIOCGIFCONF, (char*)&if_conf) == -1 && [all …]
|
H A D | php_sockets.h | 33 # define IS_INVALID_SOCKET(a) (a->bsd_socket < 0) 70 PHP_SOCKET bsd_socket; member
|
H A D | sendrecvmsg.c | 201 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() 366 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_rfc3542() 397 res = getsockopt(php_sock->bsd_socket, level, optname, buffer, &size); in php_do_getsockopt_ipv6_rfc3542()
|
H A D | windows_common.h | 24 #define IS_INVALID_SOCKET(a) (a->bsd_socket == INVALID_SOCKET)
|
H A D | conversions.c | 1266 } else if (ioctl(ctx->sock->bsd_socket, SIOCGIFINDEX, &ifr) < 0) { in from_zval_write_ifindex() 1369 iarr[i] = sock->bsd_socket; in from_zval_write_fd_array_aux()
|
Completed in 26 milliseconds