Lines Matching refs:mpls_nh
95 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh)
101 const struct mpls_nh *nh)
103 return __mpls_nh_via((struct mpls_route *)rt, (struct mpls_nh *)nh);
106 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh)
223 static struct mpls_nh *mpls_get_nexthop(struct mpls_route *rt, u8 index)
225 return (struct mpls_nh *)((u8 *)rt->rt_nh + index * rt->rt_nh_size);
233 static struct mpls_nh *mpls_select_multipath(struct mpls_route *rt,
347 struct mpls_nh *nh;
646 struct mpls_nh *nh, int oif)
678 struct mpls_nh *nh, int oif)
769 struct mpls_nh *nh = rt->rt_nh;
798 struct mpls_nh *nh, int oif, struct nlattr *via,
2026 const struct mpls_nh *nh = rt->rt_nh;
2168 struct mpls_nh *nh = rt->rt_nh;
2251 struct mpls_nh *nh = rt->rt_nh;
2380 struct mpls_nh *nh;