Home
last modified time | relevance | path

Searched refs:rt_nh (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/net/mpls/
Dinternal.h77 struct mpls_nh rt_nh[0]; member
82 for (nhsel = 0, nh = (rt)->rt_nh; \
88 for (nhsel = 0, nh = (struct mpls_nh *)((rt)->rt_nh); \
Daf_mpls.c64 u8 *nh0_via = PTR_ALIGN((u8 *)&rt->rt_nh[rt->rt_nhn], VIA_ALEN_ALIGN); in __mpls_nh_via()
65 int nh_index = nh - rt->rt_nh; in __mpls_nh_via()
172 return &rt->rt_nh[nh_index]; in mpls_select_multipath()
370 rt = kzalloc(ALIGN(sizeof(*rt) + num_nh * sizeof(*rt->rt_nh), in mpls_rt_alloc()
564 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg()
1245 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route()
1337 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size()
1415 RCU_INIT_POINTER(rt0->rt_nh->nh_dev, lo); in resize_platform_label_table()
1418 rt0->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
1419 rt0->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
[all …]