Lines Matching refs:level
54 static int _php_mcast_join_leave(php_socket *sock, int level, struct sockaddr *group, socklen_t gro…
56 static int _php_mcast_source_op(php_socket *sock, int level, struct sockaddr *group, socklen_t grou…
150 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) in php_do_mcast_opt() argument
185 retval = mcast_req_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
225 retval = mcast_sreq_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
233 "This is a bug.", level, optname); in php_do_mcast_opt()
247 int level, in php_do_setsockopt_ip_mcast() argument
267 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ip_mcast()
307 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
317 int level, in php_do_setsockopt_ipv6_mcast() argument
336 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
372 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()
383 int level, in php_mcast_join() argument
388 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 1); in php_mcast_join()
393 int level, in php_mcast_leave() argument
398 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 0); in php_mcast_leave()
404 int level, in php_mcast_join_source() argument
411 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOUR… in php_mcast_join_source()
416 int level, in php_mcast_leave_source() argument
423 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, LEAVE_SOU… in php_mcast_leave_source()
428 int level, in php_mcast_block_source() argument
435 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, BLOCK_SOU… in php_mcast_block_source()
440 int level, in php_mcast_unblock_source() argument
447 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, UNBLOCK_S… in php_mcast_unblock_source()
454 int level, in _php_mcast_join_leave() argument
467 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
486 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
499 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
516 int level, in _php_mcast_source_op() argument
533 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()
555 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()