Searched refs:found_source_addr (Results 1 – 2 of 2) sorted by relevance
63 address_sorting_address found_source_addr; in posix_source_addr_factory_get_source_addr() local64 memset(&found_source_addr, 0, sizeof(found_source_addr)); in posix_source_addr_factory_get_source_addr()65 found_source_addr.len = sizeof(found_source_addr.addr); in posix_source_addr_factory_get_source_addr()66 if (getsockname(s, (struct sockaddr*)&found_source_addr.addr, in posix_source_addr_factory_get_source_addr()67 (socklen_t*)&found_source_addr.len) != -1) { in posix_source_addr_factory_get_source_addr()69 *source_addr = found_source_addr; in posix_source_addr_factory_get_source_addr()
61 address_sorting_address found_source_addr; in windows_source_addr_factory_get_source_addr() local62 memset(&found_source_addr, 0, sizeof(found_source_addr)); in windows_source_addr_factory_get_source_addr()63 found_source_addr.len = sizeof(found_source_addr.addr); in windows_source_addr_factory_get_source_addr()64 if (getsockname(s, (struct sockaddr*)&found_source_addr.addr, in windows_source_addr_factory_get_source_addr()65 (socklen_t*)&found_source_addr.len) == 0) { in windows_source_addr_factory_get_source_addr()67 *source_addr = found_source_addr; in windows_source_addr_factory_get_source_addr()