Lines Matching refs:level
52 static int _php_mcast_join_leave(php_socket *sock, int level, struct sockaddr *group, socklen_t gro…
54 static int _php_mcast_source_op(php_socket *sock, int level, struct sockaddr *group, socklen_t grou…
144 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) in php_do_mcast_opt() argument
179 retval = mcast_req_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
219 retval = mcast_sreq_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
227 "This is a bug.", level, optname); in php_do_mcast_opt()
241 int level, in php_do_setsockopt_ip_mcast() argument
261 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ip_mcast()
301 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
311 int level, in php_do_setsockopt_ipv6_mcast() argument
330 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
366 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()
377 int level, in php_mcast_join() argument
382 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 1); in php_mcast_join()
387 int level, in php_mcast_leave() argument
392 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 0); in php_mcast_leave()
398 int level, in php_mcast_join_source() argument
405 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOUR… in php_mcast_join_source()
410 int level, in php_mcast_leave_source() argument
417 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, LEAVE_SOU… in php_mcast_leave_source()
422 int level, in php_mcast_block_source() argument
429 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, BLOCK_SOU… in php_mcast_block_source()
434 int level, in php_mcast_unblock_source() argument
441 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, UNBLOCK_S… in php_mcast_unblock_source()
448 int level, in _php_mcast_join_leave() argument
461 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
480 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
493 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
510 int level, in _php_mcast_source_op() argument
527 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()
549 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()