Home
last modified time | relevance | path

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

/PHP-7.0/ext/sockets/
H A Dmulticast.c252 struct in_addr if_addr; in php_do_setsockopt_ip_mcast() local
278 if (php_if_index_to_addr4(if_index, php_sock, &if_addr) == FAILURE) { in php_do_setsockopt_ip_mcast()
281 opt_ptr = &if_addr; in php_do_setsockopt_ip_mcast()
282 optlen = sizeof(if_addr); in php_do_setsockopt_ip_mcast()
H A Dsockets.c1905 struct in_addr if_addr; local
1907 optlen = sizeof(if_addr);
1908 if (getsockopt(php_sock->bsd_socket, level, optname, (char*)&if_addr, &optlen) != 0) {
1912 if (php_add4_to_if_index(&if_addr, php_sock, &if_index) == SUCCESS) {

Completed in 11 milliseconds