Searched refs:source_addr (Results 1 – 6 of 6) sorted by relevance
/libuv/test/ |
H A D | test-udp-multicast-join.c | 120 char source_addr[64]; in cl_recv_cb() local 122 r = uv_ip4_name((const struct sockaddr_in*)addr, source_addr, sizeof(source_addr)); in cl_recv_cb() 129 r = uv_udp_set_source_membership(&server, MULTICAST_ADDR, NULL, source_addr, UV_JOIN_GROUP); in cl_recv_cb()
|
H A D | test-udp-multicast-join6.c | 132 char source_addr[64]; in cl_recv_cb() local 134 r = uv_ip6_name((const struct sockaddr_in6*)addr, source_addr, sizeof(source_addr)); in cl_recv_cb() 140 …r = uv_udp_set_source_membership(&server, MULTICAST_ADDR, INTERFACE_ADDR, source_addr, UV_JOIN_GRO… in cl_recv_cb()
|
/libuv/src/win/ |
H A D | udp.c | 662 const struct sockaddr_in* source_addr, in uv__udp_set_source_membership4() argument 690 mreq.imr_sourceaddr.s_addr = source_addr->sin_addr.s_addr; in uv__udp_set_source_membership4() 714 const struct sockaddr_in6* source_addr, in uv__udp_set_source_membership6() argument 722 STATIC_ASSERT(sizeof(mreq.gsr_source) >= sizeof(*source_addr)); in uv__udp_set_source_membership6() 747 memcpy(&mreq.gsr_source, source_addr, sizeof(*source_addr)); in uv__udp_set_source_membership6() 787 const char* source_addr, in uv_udp_set_source_membership() argument 807 err = uv_ip6_addr(source_addr, 0, src_addr6); in uv_udp_set_source_membership() 817 err = uv_ip4_addr(source_addr, 0, src_addr4); in uv_udp_set_source_membership()
|
/libuv/src/unix/ |
H A D | udp.c | 934 const struct sockaddr_in* source_addr, in uv__udp_set_source_membership4() argument 955 mreq.imr_sourceaddr.s_addr = source_addr->sin_addr.s_addr; in uv__udp_set_source_membership4() 979 const struct sockaddr_in6* source_addr, in uv__udp_set_source_membership6() argument 1002 STATIC_ASSERT(sizeof(mreq.gsr_source) >= sizeof(*source_addr)); in uv__udp_set_source_membership6() 1004 memcpy(&mreq.gsr_source, source_addr, sizeof(*source_addr)); in uv__udp_set_source_membership6() 1114 const char* source_addr, in uv_udp_set_source_membership() argument 1131 err = uv_ip6_addr(source_addr, 0, &src_addr.in6); in uv_udp_set_source_membership() 1141 err = uv_ip4_addr(source_addr, 0, &src_addr.in); in uv_udp_set_source_membership()
|
/libuv/docs/src/ |
H A D | udp.rst | 290 …e, const char* multicast_addr, const char* interface_addr, const char* source_addr, uv_membership … 301 :param source_addr: Source address.
|
/libuv/include/ |
H A D | uv.h | 761 const char* source_addr,
|
Completed in 39 milliseconds