Searched refs:addresses (Results 1 – 13 of 13) sorted by relevance
/libuv/src/unix/ |
H A D | bsd-ifaddrs.c | 68 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) { in uv_interface_addresses() argument 77 *addresses = NULL; in uv_interface_addresses() 95 *addresses = uv__calloc(*count, sizeof(**addresses)); in uv_interface_addresses() 97 if (*addresses == NULL) { in uv_interface_addresses() 102 address = *addresses; in uv_interface_addresses() 135 address = *addresses; in uv_interface_addresses() 154 void uv_free_interface_addresses(uv_interface_address_t* addresses, in uv_free_interface_addresses() argument 159 uv__free(addresses[i].name); in uv_free_interface_addresses() 162 uv__free(addresses); in uv_free_interface_addresses()
|
H A D | ibmi.c | 394 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) { in uv_interface_addresses() argument 400 *addresses = NULL; in uv_interface_addresses() 423 *addresses = uv__calloc(*count, sizeof(**addresses)); in uv_interface_addresses() 424 if (*addresses == NULL) { in uv_interface_addresses() 428 address = *addresses; in uv_interface_addresses() 500 void uv_free_interface_addresses(uv_interface_address_t* addresses, int count) { in uv_free_interface_addresses() argument 504 uv__free(addresses[i].name); in uv_free_interface_addresses() 507 uv__free(addresses); in uv_free_interface_addresses()
|
H A D | os390.c | 342 if (!(*addresses)) { in uv__interface_addresses_v6() 347 address = *addresses; in uv__interface_addresses_v6() 371 uv_free_interface_addresses(*addresses, count_names); in uv__interface_addresses_v6() 418 *addresses = NULL; in uv_interface_addresses() 491 *addresses = uv__calloc(1, (*count + count_v6) * in uv_interface_addresses() 494 if (!(*addresses)) { in uv_interface_addresses() 501 address = *addresses; in uv_interface_addresses() 525 uv_free_interface_addresses(*addresses, count_names); in uv_interface_addresses() 544 uv_free_interface_addresses(*addresses, count_names); in uv_interface_addresses() 582 uv__free(addresses[i].name); in uv_free_interface_addresses() [all …]
|
H A D | sunos.c | 760 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) { in uv_interface_addresses() argument 762 *addresses = NULL; in uv_interface_addresses() 825 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) { in uv_interface_addresses() argument 831 *addresses = NULL; in uv_interface_addresses() 848 *addresses = uv__malloc(*count * sizeof(**addresses)); in uv_interface_addresses() 849 if (!(*addresses)) { in uv_interface_addresses() 854 address = *addresses; in uv_interface_addresses() 887 void uv_free_interface_addresses(uv_interface_address_t* addresses, in uv_free_interface_addresses() argument 892 uv__free(addresses[i].name); in uv_free_interface_addresses() 895 uv__free(addresses); in uv_free_interface_addresses()
|
H A D | aix.c | 1116 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) { in uv_interface_addresses() argument 1128 *addresses = NULL; in uv_interface_addresses() 1185 *addresses = uv__calloc(*count, sizeof(**addresses)); in uv_interface_addresses() 1186 if (!(*addresses)) { in uv_interface_addresses() 1190 address = *addresses; in uv_interface_addresses() 1255 address = *addresses; in uv_interface_addresses() 1269 uv_free_interface_addresses(*addresses, *count); in uv_interface_addresses() 1270 *addresses = NULL; in uv_interface_addresses() 1284 void uv_free_interface_addresses(uv_interface_address_t* addresses, in uv_free_interface_addresses() argument 1289 uv__free(addresses[i].name); in uv_free_interface_addresses() [all …]
|
H A D | linux.c | 1942 int uv_interface_addresses(uv_interface_address_t** addresses, int* count) { in uv_interface_addresses() argument 1949 *addresses = NULL; in uv_interface_addresses() 1968 *addresses = uv__calloc(*count, sizeof(**addresses)); in uv_interface_addresses() 1969 if (!(*addresses)) { in uv_interface_addresses() 1974 address = *addresses; in uv_interface_addresses() 2004 address = *addresses; in uv_interface_addresses() 2024 void uv_free_interface_addresses(uv_interface_address_t* addresses, in uv_free_interface_addresses() argument 2029 uv__free(addresses[i].name); in uv_free_interface_addresses() 2032 uv__free(addresses); in uv_free_interface_addresses()
|
/libuv/test/ |
H A D | test-ip6-addr.c | 40 uv_interface_address_t* addresses; in TEST_IMPL() local 54 ASSERT_OK(uv_interface_addresses(&addresses, &count)); in TEST_IMPL() 57 address = addresses + ix; in TEST_IMPL() 113 uv_free_interface_addresses(addresses, count); in TEST_IMPL()
|
/libuv/docs/src/guide/ |
H A D | networking.rst | 195 perform normal socket operations on the retrieved addresses. Let's connect to 232 useful to allow your service to bind to IP addresses when it starts. 241 interface has multiple IPv4/IPv6 addresses, the name will be reported multiple
|
/libuv/docs/src/ |
H A D | misc.rst | 170 Data type for interface addresses. 410 .. c:function:: int uv_interface_addresses(uv_interface_address_t** addresses, int* count) 413 array of `count` elements is allocated and returned in `addresses`. It must 416 .. c:function:: void uv_free_interface_addresses(uv_interface_address_t* addresses, int count) 430 Convert a string containing an IPv4 addresses to a binary structure. 434 Convert a string containing an IPv6 addresses to a binary structure. 475 interface identifier in scoped IPv6 addresses, e.g.
|
H A D | migration_010_100.rst | 141 addresses.
|
/libuv/src/win/ |
H A D | util.c | 870 void uv_free_interface_addresses(uv_interface_address_t* addresses, in uv_free_interface_addresses() argument 872 uv__free(addresses); in uv_free_interface_addresses()
|
/libuv/include/ |
H A D | uv.h | 1339 UV_EXTERN int uv_interface_addresses(uv_interface_address_t** addresses, 1341 UV_EXTERN void uv_free_interface_addresses(uv_interface_address_t* addresses,
|
/libuv/ |
H A D | ChangeLog | 367 * unix: set ipv6 scope id for link-local addresses (Ben Noordhuis) 896 * zos: correctly format interface addresses names (Shuowang (Wayne) Zhang) 900 * zos: improve memory management of ip addresses (Shuowang (Wayne) Zhang) 1897 * aix: fix setting of physical addresses (Richard Lau) 2901 * win: map 0.0.0.0 and :: addresses to localhost (Bartosz Sosnowski) 5075 * unix, windows: fix parsing scoped IPv6 addresses (Saúl Ibarra Corretgé) 5123 * sunos: support IPv6 qualified link-local addresses (Saúl Ibarra Corretgé) 5142 * bsd: support IPv6 qualified link-local addresses (Saúl Ibarra Corretgé) 5940 * linux,darwin,win: link-local IPv6 addresses (Miroslav Bajtoš)
|
Completed in 77 milliseconds