Home
last modified time | relevance | path

Searched refs:nhops (Results 1 – 10 of 10) sorted by relevance

/freebsd/sys/net/route/
H A Dnhop.c156 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_destroy_rib()
259 CHT_SLIST_RESIZE(&ctl->nh_head, nhops, nh_ptr, new_nh_buckets); in consider_resize()
307 CHT_SLIST_INSERT_HEAD(&ctl->nh_head, nhops, nh_priv); in link_nhop()
334 CHT_SLIST_REMOVE(&ctl->nh_head, nhops, nh_priv_del, priv_ret); in unlink_nhop()
378 CHT_SLIST_FIND_BYOBJ(&ctl->nh_head, nhops, nh_priv, nh_priv_ret); in find_nhop()
H A Dnhgrp_var.h61 #define _NHGRP_PRIV(_src) (&(_src)->nhops[(_src)->nhg_size])
H A Droute_var.h272 struct nhop_object *nhops[0]; /* nhops */ member
282 nh = nhg->nhops[flowid % nhg->nhg_size]; in nhop_select()
H A Dnhop_var.h42 CHT_SLIST_DEFINE(nhops, struct nhop_priv);
H A Dnhgrp_ctl.c307 dst->nhops[slot_idx++] = x[i].nh; in compile_nhgrp()
1043 ext[i].nh_idx = nhg->nhops[i]->nh_priv->nh_idx; in dump_nhgrp_entry()
1122 min_metric = nhop_get_metric(nhg->nhops[0]); in nhgrp_recompile_one()
H A Droute_ctl.c1175 uint32_t i, nhops; in update_tmproutes_mpath() local
1178 wn = nhgrp_get_nhops(rnd->rnd_nhgrp, &nhops); in update_tmproutes_mpath()
1180 for (i = 0; i < nhops; i++) { in update_tmproutes_mpath()
H A Dnhop_ctl.c1098 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_update_ifmtu()
1323 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_dump_sysctl()
/freebsd/tests/sys/net/routing/
H A Dtest_routing_l3.py85 nhops = ToolsHelper.get_nhops(family)
86 nh = [nh for nh in nhops if nh["index"] == nhop_kidx][0]
/freebsd/usr.bin/netstat/
H A DMakefile5 unix.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c common.c nhops.c nhgrp.c \
/freebsd/sys/netlink/route/
H A Drt.c77 nh = nhg->nhops[0]; in nl_get_rtm_protocol()
493 struct rta_mpath_nh nhops[0]; member
526 mpnh = &mp->nhops[mp->num_nhops++]; in nlattr_get_multipath()
945 struct rta_mpath_nh *mpnh = &attrs->rta_multipath->nhops[i]; in create_nexthop_from_attrs()