Searched refs:nh_priv (Results 1 – 7 of 7) sorted by relevance
| /f-stack/freebsd/net/route/ |
| H A D | nhop_ctl.c | 282 nh = nh_priv->nh; in fill_nhop_from_info() 464 nh = nh_priv->nh; in nhop_create_from_nhop() 467 nh_priv->nh_family = nh_orig->nh_priv->nh_family; in nhop_create_from_nhop() 468 nh_priv->rt_flags = nh_orig->nh_priv->rt_flags; in nhop_create_from_nhop() 469 nh_priv->nh_type = nh_orig->nh_priv->nh_type; in nhop_create_from_nhop() 507 nh->nh_priv = nh_priv; in alloc_nhop_structure() 508 nh_priv->nh = nh; in alloc_nhop_structure() 510 return (nh_priv); in alloc_nhop_structure() 525 nh = nh_priv->nh; in finalize_nhop() 597 prefix, nh->nh_priv, nh->nh_priv->nh_family, nh->nh_ifp, in print_nhop() [all …]
|
| H A D | nhop.c | 138 struct nhop_priv *nh_priv; in nhops_destroy_rib() local 156 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_destroy_rib() 157 DPRINTF("Marking nhop %u unlinked", nh_priv->nh_idx); in nhops_destroy_rib() 158 refcount_release(&nh_priv->nh_linked); in nhops_destroy_rib() 287 link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv) in link_nhop() argument 311 nh_priv->nh_idx = idx; in link_nhop() 312 nh_priv->nh_control = ctl; in link_nhop() 314 CHT_SLIST_INSERT_HEAD(&ctl->nh_head, nhops, nh_priv); in link_nhop() 319 hash_priv(nh_priv), ctl); in link_nhop() 376 find_nhop(struct nh_control *ctl, const struct nhop_priv *nh_priv) in find_nhop() argument [all …]
|
| H A D | nhop_var.h | 97 ((_nh)->nh_priv->rt_flags & RTF_PINNED)) 101 const struct nhop_priv *nh_priv); 102 int link_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv); 103 struct nhop_priv *unlink_nhop(struct nh_control *ctl, struct nhop_priv *nh_priv);
|
| H A D | route_helpers.c | 267 nh_idx_old = wn_old[idx_old].nh->nh_priv->nh_idx; in decompose_change_notification() 268 nh_idx_new = wn_new[idx_new].nh->nh_priv->nh_idx; in decompose_change_notification() 290 (wn_old[idx_old + 1].nh->nh_priv->nh_idx > nh_idx_new)) { in decompose_change_notification() 311 (wn_new[idx_new + 1].nh->nh_priv->nh_idx > nh_idx_old)) { in decompose_change_notification()
|
| H A D | nhgrp_ctl.c | 454 if (wn[i].nh->nh_priv->nh_idx == last_id) { in get_nhgrp() 458 last_id = wn[i].nh->nh_priv->nh_idx; in get_nhgrp() 745 ext[i].nh_idx = nhg_priv->nhg_nh_weights[i].nh->nh_priv->nh_idx; in dump_nhgrp_entry() 759 ext[i].nh_idx = nhg->nhops[i]->nh_priv->nh_idx; in dump_nhgrp_entry()
|
| H A D | nhop.h | 144 struct nhop_priv *nh_priv; /* control plane data */ member
|
| /f-stack/tools/compat/include/net/route/ |
| H A D | nhop.h | 144 struct nhop_priv *nh_priv; /* control plane data */ member
|