Home
last modified time | relevance | path

Searched refs:IFADDRS_HASH_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/musl/src/network/
Dif_nameindex.c10 #define IFADDRS_HASH_SIZE 64 macro
22 unsigned int hash[IFADDRS_HASH_SIZE];
51 bucket = index % IFADDRS_HASH_SIZE; in netlink_msg_to_nameindex()
Dgetifaddrs.c12 #define IFADDRS_HASH_SIZE 64 macro
44 struct ifaddrs_storage *hash[IFADDRS_HASH_SIZE];
121 for (ifs0 = ctx->hash[ifa->ifa_index % IFADDRS_HASH_SIZE]; ifs0; ifs0 = ifs0->hash_next) in netlink_msg_to_ifaddr()
155 unsigned int bucket = ifs->index % IFADDRS_HASH_SIZE; in netlink_msg_to_ifaddr()