Lines Matching refs:group
50 static int _php_mcast_join_leave(php_socket *sock, int level, struct sockaddr *group, socklen_t gro…
52 static int _php_mcast_source_op(php_socket *sock, int level, struct sockaddr *group, socklen_t grou…
159 php_sockaddr_storage group = {0}; in php_do_mcast_opt() local
165 if (php_get_address_from_array(opt_ht, "group", php_sock, &group, in php_do_mcast_opt()
174 retval = mcast_req_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
193 php_sockaddr_storage group = {0}, in php_do_mcast_opt() local
201 if (php_get_address_from_array(opt_ht, "group", php_sock, &group, in php_do_mcast_opt()
214 retval = mcast_sreq_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
371 struct sockaddr *group, in php_mcast_join() argument
375 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 1); in php_mcast_join()
381 struct sockaddr *group, in php_mcast_leave() argument
385 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 0); in php_mcast_leave()
392 struct sockaddr *group, in php_mcast_join_source() argument
398 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOUR… in php_mcast_join_source()
404 struct sockaddr *group, in php_mcast_leave_source() argument
410 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, LEAVE_SOU… in php_mcast_leave_source()
416 struct sockaddr *group, in php_mcast_block_source() argument
422 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, BLOCK_SOU… in php_mcast_block_source()
428 struct sockaddr *group, in php_mcast_unblock_source() argument
434 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, UNBLOCK_S… in php_mcast_unblock_source()
442 struct sockaddr *group, /* struct sockaddr_in/sockaddr_in6 */ in _php_mcast_join_leave() argument
450 memcpy(&greq.gr_group, group, group_len); in _php_mcast_join_leave()
473 mreq.imr_multiaddr = ((struct sockaddr_in*)group)->sin_addr; in _php_mcast_join_leave()
485 mreq.ipv6mr_multiaddr = ((struct sockaddr_in6*)group)->sin6_addr; in _php_mcast_join_leave()
505 struct sockaddr *group, in _php_mcast_source_op() argument
515 memcpy(&gsreq.gsr_group, group, group_len); in _php_mcast_source_op()
528 mreqs.imr_multiaddr = ((struct sockaddr_in*)group)->sin_addr; in _php_mcast_source_op()