Home
last modified time | relevance | path

Searched refs:netmask (Results 1 – 11 of 11) sorted by relevance

/libuv/src/unix/
H A Dbsd-ifaddrs.c117 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 Dibmi.c445 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 Dos390.c290 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 Daix.c1229 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 Dsunos.c869 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 Dlinux.c1989 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 Dtest-platform-output.c178 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 Dutil.c839 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 Duv.h1210 } netmask; member
/libuv/
H A DChangeLog898 * 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 Dmisc.rst185 } netmask;

Completed in 45 milliseconds