Home
last modified time | relevance | path

Searched refs:addr_storage (Results 1 – 3 of 3) sorted by relevance

/third_party/lwip/test/unit/api/
Dtest_sockets.c285 struct sockaddr_storage addr_storage; in test_sockets_msgapi_tcp() local
298 test_sockets_init_loopback_addr(domain, &addr_storage, &addr_size); in test_sockets_msgapi_tcp()
306 ret = lwip_bind(listnr, (struct sockaddr*)&addr_storage, addr_size); in test_sockets_msgapi_tcp()
312 ret = lwip_getsockname(listnr, (struct sockaddr*)&addr_storage, &addr_size); in test_sockets_msgapi_tcp()
316 ret = lwip_connect(s1, (struct sockaddr*)&addr_storage, addr_size); in test_sockets_msgapi_tcp()
327 ret = lwip_connect(s1, (struct sockaddr*)&addr_storage, addr_size); in test_sockets_msgapi_tcp()
476 struct sockaddr_storage addr_storage; in test_sockets_msgapi_udp() local
493 test_sockets_init_loopback_addr(domain, &addr_storage, &addr_size); in test_sockets_msgapi_udp()
498 ret = lwip_bind(s, (struct sockaddr*)&addr_storage, addr_size); in test_sockets_msgapi_udp()
502 ret = lwip_getsockname(s, (struct sockaddr*)&addr_storage, &addr_size); in test_sockets_msgapi_udp()
[all …]
/third_party/node/src/
Dudp_wrap.cc245 struct sockaddr_storage addr_storage; in DoBind() local
246 int err = sockaddr_for_family(family, address.out(), port, &addr_storage); in DoBind()
249 reinterpret_cast<const sockaddr*>(&addr_storage), in DoBind()
273 struct sockaddr_storage addr_storage; in DoConnect() local
274 int err = sockaddr_for_family(family, address.out(), port, &addr_storage); in DoConnect()
277 reinterpret_cast<const sockaddr*>(&addr_storage)); in DoConnect()
518 struct sockaddr_storage addr_storage; in DoSend() local
523 err = sockaddr_for_family(family, address.out(), port, &addr_storage); in DoSend()
525 addr = reinterpret_cast<sockaddr*>(&addr_storage); in DoSend()
Dnode_report_utils.cc54 struct sockaddr_storage addr_storage; in ReportEndpoints() local
55 struct sockaddr* addr = reinterpret_cast<sockaddr*>(&addr_storage); in ReportEndpoints()
57 int addr_size = sizeof(addr_storage); in ReportEndpoints()