Lines Matching refs:addrlen
194 unsigned int addrlen, in uv__udp_maybe_bind() argument
257 r = bind(handle->socket, addr, addrlen); in uv__udp_maybe_bind()
359 unsigned int addrlen, in uv__send() argument
375 addrlen, in uv__send()
901 int addrlen; in uv__udp_is_bound() local
903 addrlen = sizeof(addr); in uv__udp_is_bound()
904 if (uv_udp_getsockname(handle, (struct sockaddr*) &addr, &addrlen) != 0) in uv__udp_is_bound()
907 return addrlen > 0; in uv__udp_is_bound()
1004 unsigned int addrlen, in SOCKOPT_SETTER()
1008 err = uv__udp_maybe_bind(handle, addr, addrlen, flags); in SOCKOPT_SETTER()
1018 unsigned int addrlen) { in uv__udp_connect() argument
1023 if (addrlen == sizeof(uv_addr_ip4_any_)) in uv__udp_connect()
1025 else if (addrlen == sizeof(uv_addr_ip6_any_)) in uv__udp_connect()
1030 err = uv__udp_maybe_bind(handle, bind_addr, addrlen, 0); in uv__udp_connect()
1035 err = connect(handle->socket, addr, addrlen); in uv__udp_connect()
1068 unsigned int addrlen, in uv__udp_send() argument
1074 if (addrlen == sizeof(uv_addr_ip4_any_)) in uv__udp_send()
1076 else if (addrlen == sizeof(uv_addr_ip6_any_)) in uv__udp_send()
1081 err = uv__udp_maybe_bind(handle, bind_addr, addrlen, 0); in uv__udp_send()
1086 err = uv__send(req, handle, bufs, nbufs, addr, addrlen, send_cb); in uv__udp_send()
1098 unsigned int addrlen) { in uv__udp_try_send() argument
1118 if (addrlen == sizeof(uv_addr_ip4_any_)) in uv__udp_try_send()
1120 else if (addrlen == sizeof(uv_addr_ip6_any_)) in uv__udp_try_send()
1124 err = uv__udp_maybe_bind(handle, bind_addr, addrlen, 0); in uv__udp_try_send()
1135 addrlen, in uv__udp_try_send()