Home
last modified time | relevance | path

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

/Linux-v5.10/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()
769 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg()
1986 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route()
2128 struct mpls_nh *nh = rt->rt_nh; in mpls_rt_uses_dev()
2211 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size()
2509 RCU_INIT_POINTER(rt0->rt_nh->nh_dev, lo); in resize_platform_label_table()
2513 rt0->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2514 rt0->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
2515 memcpy(__mpls_nh_via(rt0, rt0->rt_nh), lo->dev_addr, in resize_platform_label_table()
[all …]