Lines Matching refs:level
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…
139 static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) in php_do_mcast_opt() argument
174 retval = mcast_req_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
214 retval = mcast_sreq_fun(php_sock, level, (struct sockaddr*)&group, in php_do_mcast_opt()
222 "This is a bug.", level, optname); in php_do_mcast_opt()
236 int level, in php_do_setsockopt_ip_mcast() argument
256 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ip_mcast()
295 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ip_mcast()
305 int level, in php_do_setsockopt_ipv6_mcast() argument
324 if (php_do_mcast_opt(php_sock, level, optname, arg4) == FAILURE) { in php_do_setsockopt_ipv6_mcast()
359 retval = setsockopt(php_sock->bsd_socket, level, optname, opt_ptr, optlen); in php_do_setsockopt_ipv6_mcast()
370 int level, in php_mcast_join() argument
375 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 1); in php_mcast_join()
380 int level, in php_mcast_leave() argument
385 return _php_mcast_join_leave(sock, level, group, group_len, if_index, 0); in php_mcast_leave()
391 int level, 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()
403 int level, 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()
415 int level, 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()
427 int level, 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()
441 int level, in _php_mcast_join_leave() argument
454 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
474 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
488 return setsockopt(sock->bsd_socket, level, in _php_mcast_join_leave()
504 int level, in _php_mcast_source_op() argument
521 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()
543 return setsockopt(sock->bsd_socket, level, in _php_mcast_source_op()