Home
last modified time | relevance | path

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

/Linux-v5.15/net/mpls/
Dinternal.h157 struct mpls_nh rt_nh[]; member
162 for (nhsel = 0, nh = (rt)->rt_nh, __nh = (u8 *)((rt)->rt_nh); \
168 for (nhsel = 0, nh = (struct mpls_nh *)((rt)->rt_nh), \
169 __nh = (u8 *)((rt)->rt_nh); \
Daf_mpls.c225 return (struct mpls_nh *)((u8 *)rt->rt_nh + index * rt->rt_nh_size); in mpls_get_nexthop()
245 return rt->rt_nh; in mpls_select_multipath()
771 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg()
1987 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route()
2129 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev()
2212 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size()
2510 RCU_INIT_POINTER(rt0->rt_nh->nh_dev, lo); in resize_platform_label_table()
2514 rt0->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2515 rt0->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
2516 memcpy(__mpls_nh_via(rt0, rt0->rt_nh), lo->dev_addr, in resize_platform_label_table()
[all …]