Home
last modified time | relevance | path

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

/freebsd/sys/net/route/
H A Dnhop.c159 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_destroy_rib()
264 CHT_SLIST_RESIZE(&ctl->nh_head, nhops, nh_ptr, new_nh_buckets); in consider_resize()
312 CHT_SLIST_INSERT_HEAD(&ctl->nh_head, nhops, nh_priv); in link_nhop()
339 CHT_SLIST_REMOVE(&ctl->nh_head, nhops, nh_priv_del, priv_ret); in unlink_nhop()
383 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 Dnhop_var.h42 CHT_SLIST_DEFINE(nhops, struct nhop_priv);
H A Droute_var.h274 struct nhop_object *nhops[0]; /* nhops */ member
284 nh = nhg->nhops[flowid % nhg->nhg_size]; in nhop_select()
H A Dnhgrp_ctl.c268 dst->nhops[slot_idx++] = x[i].nh; in compile_nhgrp()
893 ext[i].nh_idx = nhg->nhops[i]->nh_priv->nh_idx; in dump_nhgrp_entry()
H A Dnhop_ctl.c1064 CHT_SLIST_FOREACH(&ctl->nh_head, nhops, nh_priv) { in nhops_update_ifmtu()
1284 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 DMakefile6 unix.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c common.c nhops.c nhgrp.c \
H A Droute_netlink.c241 struct rta_mpath_nh *nhop = rt.rta_multipath.nhops[i]; in p_rtentry_netlink()
/freebsd/sys/netlink/route/
H A Drt.c76 nh = nhg->nhops[0]; in nl_get_rtm_protocol()
429 struct rta_mpath_nh nhops[0]; member
444 struct rta_mpath_nh *mpnh = &mp->nhops[mp->num_nhops++]; in nlattr_get_multipath()
847 struct rta_mpath_nh *mpnh = &attrs->rta_multipath->nhops[i]; in create_nexthop_from_attrs()
/freebsd/sbin/route/
H A Droute_netlink.c548 struct rta_mpath_nh *nh = r.rta_multipath.nhops[i]; in print_nlmsg_route()
844 struct rta_mpath_nh *nh = r->rta_multipath.nhops[i]; in flushroute_one()
/freebsd/sys/netlink/
H A Dnetlink_snl_route_parsers.h94 struct rta_mpath_nh **nhops; member