Lines Matching refs:addr
469 struct in_addr addr; in _php_mcast_join_leave()
474 if (php_if_index_to_addr4(if_index, sock, &addr TSRMLS_CC) == in _php_mcast_join_leave()
477 mreq.imr_interface = addr; in _php_mcast_join_leave()
534 struct in_addr addr; in _php_mcast_source_op()
543 if (php_if_index_to_addr4(if_index, sock, &addr TSRMLS_CC) == in _php_mcast_source_op()
546 mreqs.imr_interface = addr; in _php_mcast_source_op()
667 int php_add4_to_if_index(struct in_addr *addr, php_socket *php_sock, unsigned *if_index TSRMLS_DC) in php_add4_to_if_index() argument
676 if (addr->s_addr == INADDR_ANY) { in php_add4_to_if_index()
697 if (r.dwAddr == addr->s_addr) { in php_add4_to_if_index()
705 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str)); in php_add4_to_if_index()
751 int php_add4_to_if_index(struct in_addr *addr, php_socket *php_sock, unsigned *if_index TSRMLS_DC) argument
760 if (addr->s_addr == INADDR_ANY) {
806 addr->s_addr)) {
834 inet_ntop(AF_INET, addr, addr_str, sizeof(addr_str));