Home | History | Annotate | Download | only in lib

Lines Matching refs:entry

39 	struct rtnl_hash_entry *entry;
67 entry = malloc(sizeof(*entry));
68 entry->id = id;
69 entry->name = strdup(namebuf);
70 entry->next = hash[id & (size - 1)];
71 hash[id & (size - 1)] = entry;
341 struct rtnl_hash_entry *entry;
349 entry = rtnl_rttable_hash[id & 255];
350 while (entry && entry->id != id)
351 entry = entry->next;
352 if (entry)
353 return entry->name;
362 struct rtnl_hash_entry *entry;
375 entry = rtnl_rttable_hash[i];
376 while (entry && strcmp(entry->name, arg))
377 entry = entry->next;
378 if (entry) {
379 cache = entry->name;
380 res = entry->id;
476 struct rtnl_hash_entry *entry;
489 entry = rtnl_group_hash[i];
490 while (entry && strcmp(entry->name, arg))
491 entry = entry->next;
492 if (entry) {
493 cache = entry->name;
494 res = entry->id;