Changeset View
Changeset View
Standalone View
Standalone View
sys/net/route/nhop_ctl.c
Show First 20 Lines • Show All 755 Lines • ▼ Show 20 Lines | |||||
struct vnet * | struct vnet * | ||||
nhop_get_vnet(const struct nhop_object *nh) | nhop_get_vnet(const struct nhop_object *nh) | ||||
{ | { | ||||
return (nh->nh_priv->nh_vnet); | return (nh->nh_priv->nh_vnet); | ||||
} | } | ||||
struct nhop * | |||||
nhop_select_func(struct nhop_object *nh, uint32_t flowid) | |||||
{ | |||||
return (nhop_select(nh, flowid)); | |||||
} | |||||
void | void | ||||
nhops_update_ifmtu(struct rib_head *rh, struct ifnet *ifp, uint32_t mtu) | nhops_update_ifmtu(struct rib_head *rh, struct ifnet *ifp, uint32_t mtu) | ||||
{ | { | ||||
struct nh_control *ctl; | struct nh_control *ctl; | ||||
struct nhop_priv *nh_priv; | struct nhop_priv *nh_priv; | ||||
struct nhop_object *nh; | struct nhop_object *nh; | ||||
ctl = rh->nh_control; | ctl = rh->nh_control; | ||||
▲ Show 20 Lines • Show All 133 Lines • Show Last 20 Lines |