Searched refs:mpls_nh (Results 1 - 2 of 2) sorted by relevance

/linux-master/net/mpls/
H A Dinternal.h89 struct mpls_nh { /* next hop label forwarding entry */ struct
104 /* offset of via from beginning of mpls_nh */
106 ALIGN(sizeof(struct mpls_nh) + (num_labels) * sizeof(u32), \
128 * | mpls_nh 0 |
138 * | mpls_nh n-1 |
157 struct mpls_nh rt_nh[];
161 int nhsel; const struct mpls_nh *nh; \
167 int nhsel; struct mpls_nh *nh; \
H A Daf_mpls.c96 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 *n
[all...]

Completed in 113 milliseconds