Searched refs:netmask (Results 1 – 11 of 11) sorted by relevance
/libuv/src/unix/ |
H A D | bsd-ifaddrs.c | 117 memset(&address->netmask, 0, sizeof(address->netmask)); in uv_interface_addresses() 119 address->netmask.netmask6 = *((struct sockaddr_in6*) ent->ifa_netmask); in uv_interface_addresses() 121 address->netmask.netmask4 = *((struct sockaddr_in*) ent->ifa_netmask); in uv_interface_addresses()
|
H A D | ibmi.c | 445 address->netmask.netmask6 = *((struct sockaddr_in6*)cur->ifa_netmask); in uv_interface_addresses() 446 address->netmask.netmask6.sin6_family = AF_INET6; in uv_interface_addresses() 449 address->netmask.netmask4 = *((struct sockaddr_in*)cur->ifa_netmask); in uv_interface_addresses() 450 address->netmask.netmask4.sin_family = AF_INET; in uv_interface_addresses()
|
H A D | os390.c | 290 unsigned char netmask[16] = {0}; in uv__interface_addresses_v6() local 384 netmask[i] = 0xFF; in uv__interface_addresses_v6() 387 netmask[i] = 0xFF << (8 - (p->__nif6e_prefixlen % 8)); in uv__interface_addresses_v6() 389 address->netmask.netmask6.sin6_len = p->__nif6e_prefixlen; in uv__interface_addresses_v6() 390 memcpy(&(address->netmask.netmask6.sin6_addr), netmask, 16); in uv__interface_addresses_v6() 391 address->netmask.netmask6.sin6_family = AF_INET6; in uv__interface_addresses_v6() 563 address->netmask.netmask4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses() 564 address->netmask.netmask4.sin_family = AF_INET; in uv_interface_addresses()
|
H A D | aix.c | 1229 address->netmask.netmask6 = *((struct sockaddr_in6*) &if6.ifr_Addr); in uv_interface_addresses() 1231 address->netmask.netmask6.sin6_family = AF_INET6; in uv_interface_addresses() 1235 address->netmask.netmask4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses() 1237 address->netmask.netmask4.sin_family = AF_INET; in uv_interface_addresses()
|
H A D | sunos.c | 869 address->netmask.netmask6 = *((struct sockaddr_in6*) ent->ifa_netmask); in uv_interface_addresses() 871 address->netmask.netmask4 = *((struct sockaddr_in*) ent->ifa_netmask); in uv_interface_addresses()
|
H A D | linux.c | 1989 address->netmask.netmask6 = *((struct sockaddr_in6*) ent->ifa_netmask); in uv_interface_addresses() 1991 address->netmask.netmask4 = *((struct sockaddr_in*) ent->ifa_netmask); in uv_interface_addresses()
|
/libuv/test/ |
H A D | test-platform-output.c | 178 if (interfaces[i].netmask.netmask4.sin_family == AF_INET) { in TEST_IMPL() 179 uv_ip4_name(&interfaces[i].netmask.netmask4, buffer, sizeof(buffer)); in TEST_IMPL() 181 } else if (interfaces[i].netmask.netmask4.sin_family == AF_INET6) { in TEST_IMPL() 182 uv_ip6_name(&interfaces[i].netmask.netmask6, buffer, sizeof(buffer)); in TEST_IMPL()
|
/libuv/src/win/ |
H A D | util.c | 839 uv_address->netmask.netmask6.sin6_family = AF_INET6; in uv_interface_addresses() 840 memset(uv_address->netmask.netmask6.sin6_addr.s6_addr, 0xff, prefix_len >> 3); in uv_interface_addresses() 843 uv_address->netmask.netmask6.sin6_addr.s6_addr[prefix_len >> 3] = in uv_interface_addresses() 850 uv_address->netmask.netmask4.sin_family = AF_INET; in uv_interface_addresses() 851 uv_address->netmask.netmask4.sin_addr.s_addr = (prefix_len > 0) ? in uv_interface_addresses()
|
/libuv/include/ |
H A D | uv.h | 1210 } netmask; member
|
/libuv/ |
H A D | ChangeLog | 898 * zos: add uv_interface_addresses() netmask support (Shuowang (Wayne) Zhang) 1893 * aix: fix netmask for IPv6 (Richard Lau) 3155 * aix: add netmask, mac address into net interfaces (Gireesh Punathil) 4322 * test: fix `platform_output` netmask printing. (Andrew Paprocki) 4839 * windows: fix netmask detection (Alexis Campailla) 6278 * all platforms: add netmask to uv_interface_address (Ben Kelly)
|
/libuv/docs/src/ |
H A D | misc.rst | 185 } netmask;
|
Completed in 45 milliseconds