Lines Matching defs:head
180 rn_search(void *v_arg, struct radix_node *head)
185 for (x = head, v = v_arg; x->rn_bit >= 0;) {
200 rn_search_m(void *v_arg, struct radix_node *head, void *m_arg)
205 for (x = head; x->rn_bit >= 0;) {
272 rn_insert(void *v_arg, struct radix_node_head *head, int *dupentry,
276 struct radix_node *top = head->rnh_treetop;
487 rn_lookup(void *v_arg, void *m_arg, struct radix_node_head *head)
493 x = rn_addmask(m_arg, 1, head->rnh_treetop->rn_offset);
498 x = rn_match(v_arg, head);
508 rn_match(void *v_arg, struct radix_node_head *head)
511 register struct radix_node *t = head->rnh_treetop, *x;
694 rn_addroute(void *v_arg, void *n_arg, struct radix_node_head *head,
699 struct radix_node *saved_tt, *top = head->rnh_treetop;
722 saved_tt = tt = rn_insert(v, head, &keyduplicated, treenodes);
742 * the head of the list.
749 /* link in at head of list */
846 rn_delete(void *v_arg, void *netmask_arg, struct radix_node_head *head)
856 x = head->rnh_treetop;
921 * saved_tt is the head of the dupekey chain.
924 /* remove from head of chain */
1055 rn_inithead(void **head, int off)
1059 if (*head)
1065 *head = rnh;