Lines Matching refs:mpls_nh
96 static u8 *__mpls_nh_via(struct mpls_route *rt, struct mpls_nh *nh)
102 const struct mpls_nh *nh)
104 return __mpls_nh_via((struct mpls_route *)rt, (struct mpls_nh *)nh);
107 static unsigned int mpls_nh_header_size(const struct mpls_nh *nh)
224 static struct mpls_nh *mpls_get_nexthop(struct mpls_route *rt, u8 index)
226 return (struct mpls_nh *)((u8 *)rt->rt_nh + index * rt->rt_nh_size);
234 static const struct mpls_nh *mpls_select_multipath(struct mpls_route *rt,
347 const struct mpls_nh *nh;
649 struct mpls_nh *nh, int oif)
681 struct mpls_nh *nh, int oif)
772 struct mpls_nh *nh = rt->rt_nh;
801 struct mpls_nh *nh, int oif, struct nlattr *via,
2023 const struct mpls_nh *nh = rt->rt_nh;
2163 struct mpls_nh *nh = rt->rt_nh;
2244 struct mpls_nh *nh = rt->rt_nh;
2368 const struct mpls_nh *nh;