Searched refs:rt_nh (Results 1 – 2 of 2) sorted by relevance
157 struct mpls_nh rt_nh[0]; member162 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); \
226 return (struct mpls_nh *)((u8 *)rt->rt_nh + index * rt->rt_nh_size); in mpls_get_nexthop()246 return rt->rt_nh; in mpls_select_multipath()771 struct mpls_nh *nh = rt->rt_nh; in mpls_nh_build_from_cfg()1942 const struct mpls_nh *nh = rt->rt_nh; in mpls_dump_route()2057 struct mpls_nh *nh = rt->rt_nh; in lfib_nlmsg_size()2298 RCU_INIT_POINTER(rt0->rt_nh->nh_dev, lo); in resize_platform_label_table()2302 rt0->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()2303 rt0->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()2304 memcpy(__mpls_nh_via(rt0, rt0->rt_nh), lo->dev_addr, in resize_platform_label_table()2312 RCU_INIT_POINTER(rt2->rt_nh->nh_dev, lo); in resize_platform_label_table()[all …]