Lines Matching refs:rt_nh
226 return (struct mpls_nh *)((u8 *)rt->rt_nh + index * rt->rt_nh_size); in mpls_get_nexthop()
246 return rt->rt_nh; in mpls_select_multipath()
772 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg()
2007 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route()
2147 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev()
2228 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size()
2526 rt0->rt_nh->nh_dev = lo; in resize_platform_label_table()
2530 rt0->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2531 rt0->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
2532 memcpy(__mpls_nh_via(rt0, rt0->rt_nh), lo->dev_addr, in resize_platform_label_table()
2540 rt2->rt_nh->nh_dev = lo; in resize_platform_label_table()
2544 rt2->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2545 rt2->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
2546 memcpy(__mpls_nh_via(rt2, rt2->rt_nh), lo->dev_addr, in resize_platform_label_table()