Searched refs:hop_offset (Results 1 – 1 of 1) sorted by relevance
244 static struct bucket *dereference_hop(struct bucket *neighborhood, unsigned int hop_offset) in dereference_hop() argument247 if (hop_offset == NULL_HOP_OFFSET) in dereference_hop()250 return &neighborhood[hop_offset - 1]; in dereference_hop()263 int hop_offset = 1 + (new_bucket - neighborhood); in insert_in_hop_list() local268 if ((next_hop == NULL_HOP_OFFSET) || (next_hop > hop_offset)) { in insert_in_hop_list()270 neighborhood->first_hop = hop_offset; in insert_in_hop_list()280 if ((next_hop == NULL_HOP_OFFSET) || (next_hop > hop_offset)) { in insert_in_hop_list()282 bucket->next_hop = hop_offset; in insert_in_hop_list()