Home
last modified time | relevance | path

Searched refs:if_addr (Results 1 – 2 of 2) sorted by relevance

/php-src/ext/sockets/
H A Dmulticast.c241 struct in_addr if_addr; in php_do_setsockopt_ip_mcast() local
267 if (php_if_index_to_addr4(if_index, php_sock, &if_addr) == FAILURE) { in php_do_setsockopt_ip_mcast()
270 opt_ptr = &if_addr; in php_do_setsockopt_ip_mcast()
271 optlen = sizeof(if_addr); in php_do_setsockopt_ip_mcast()
H A Dsockets.c1669 struct in_addr if_addr; local
1671 optlen = sizeof(if_addr);
1672 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1676 if (php_add4_to_if_index(&if_addr, php_sock, &if_index) == SUCCESS) {

Completed in 21 milliseconds