Searched refs:orig_hash (Results 1 - 7 of 7) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/batman-adv/
H A Doriginator.c41 if (orig_hash)
45 orig_hash = hash_new(128, compare_orig, choose_orig);
47 if (!orig_hash)
108 if (!orig_hash)
114 hash_delete(orig_hash, free_orig_node);
115 orig_hash = NULL;
128 orig_node = ((struct orig_node *)hash_find(orig_hash, addr));
161 if (hash_add(orig_hash, orig_node) < 0)
164 if (orig_hash->elements * 4 > orig_hash
[all...]
H A Dmain.h133 extern struct hashtable_t *orig_hash;
H A Drouting.c47 while (hash_iterate(orig_hash, &hashit)) {
805 orig_node = ((struct orig_node *)hash_find(orig_hash,
874 hash_find(orig_hash, icmp_packet->orig));
972 hash_find(orig_hash, icmp_packet->dst));
1046 primary_orig_node = hash_find(orig_hash,
1148 hash_find(orig_hash, unicast_packet->dest));
1223 hash_find(orig_hash, bcast_packet->orig));
H A Dmain.c39 struct hashtable_t *orig_hash; variable in typeref:struct:hashtable_t
H A Dicmp_socket.c210 orig_node = ((struct orig_node *)hash_find(orig_hash, icmp_packet.dst));
H A Dsoft-interface.c183 orig_node = ((struct orig_node *)hash_find(orig_hash,
H A Dvis.c487 while (hash_iterate(orig_hash, &hashit)) {
543 while (hash_iterate(orig_hash, &hashit_global)) {
619 while (hash_iterate(orig_hash, &hashit)) {
656 hash_find(orig_hash, info->packet.target_orig));

Completed in 78 milliseconds