Lines Matching refs:flags
49 unsigned int flags);
95 assert(!(handle->flags & UV_HANDLE_UDP_PROCESSING)); in uv__udp_run_completed()
96 handle->flags |= UV_HANDLE_UDP_PROCESSING; in uv__udp_run_completed()
131 handle->flags &= ~UV_HANDLE_UDP_PROCESSING; in uv__udp_run_completed()
158 int flags; in uv__udp_recvmmsg() local
197 flags = UV_UDP_MMSG_CHUNK; in uv__udp_recvmmsg()
199 flags |= UV_UDP_PARTIAL; in uv__udp_recvmmsg()
206 flags); in uv__udp_recvmmsg()
224 int flags; in uv__udp_recvmsg() local
270 flags = 0; in uv__udp_recvmsg()
272 flags |= UV_UDP_PARTIAL; in uv__udp_recvmsg()
274 handle->recv_cb(handle, nread, &buf, (const struct sockaddr*) &peer, flags); in uv__udp_recvmsg()
517 unsigned int flags) { in uv__udp_bind() argument
523 if (flags & ~(UV_UDP_IPV6ONLY | UV_UDP_REUSEADDR | in uv__udp_bind()
528 if ((flags & UV_UDP_IPV6ONLY) && addr->sa_family != AF_INET6) in uv__udp_bind()
540 if (flags & UV_UDP_LINUX_RECVERR) { in uv__udp_bind()
546 if (flags & UV_UDP_REUSEADDR) { in uv__udp_bind()
552 if (flags & UV_UDP_REUSEPORT) { in uv__udp_bind()
558 if (flags & UV_UDP_IPV6ONLY) { in uv__udp_bind()
581 handle->flags |= UV_HANDLE_IPV6; in uv__udp_bind()
583 handle->flags |= UV_HANDLE_BOUND; in uv__udp_bind()
590 unsigned int flags) { in uv__udp_maybe_deferred_bind() argument
621 return uv__udp_bind(handle, &taddr.addr, addrlen, flags); in uv__udp_maybe_deferred_bind()
642 handle->flags |= UV_HANDLE_UDP_CONNECTED; in uv__udp_connect()
717 handle->flags &= ~UV_HANDLE_UDP_CONNECTED; in uv__udp_disconnect()
770 if (empty_queue && !(handle->flags & UV_HANDLE_UDP_PROCESSING)) { in uv__udp_send()
807 assert(handle->flags & UV_HANDLE_UDP_CONNECTED); in uv__udp_try_send()
1028 unsigned flags, in uv__udp_init_ex() argument
1054 if (handle->flags & UV_HANDLE_UDP_RECVMMSG) in uv_udp_using_recvmmsg()
1081 handle->flags |= UV_HANDLE_UDP_CONNECTED; in uv_udp_open()
1162 if (handle->flags & UV_HANDLE_IPV6) in uv__setsockopt()
1217 if (!(handle->flags & UV_HANDLE_IPV6)) in uv_udp_set_ttl()
1258 if (handle->flags & UV_HANDLE_IPV6) in uv_udp_set_multicast_ttl()
1283 if (handle->flags & UV_HANDLE_IPV6) in uv_udp_set_multicast_loop()
1308 if (handle->flags & UV_HANDLE_IPV6) { in uv_udp_set_multicast_interface()