Searched refs:IFADDRS_HASH_SIZE (Results 1 – 2 of 2) sorted by relevance
10 #define IFADDRS_HASH_SIZE 64 macro22 unsigned int hash[IFADDRS_HASH_SIZE];51 bucket = index % IFADDRS_HASH_SIZE; in netlink_msg_to_nameindex()
12 #define IFADDRS_HASH_SIZE 64 macro44 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()