Lines Matching full:rt2
2510 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local
2536 rt2 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table()
2537 if (IS_ERR(rt2)) in resize_platform_label_table()
2539 rt2->rt_nh->nh_dev = lo; in resize_platform_label_table()
2540 rt2->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table()
2541 rt2->rt_payload_type = MPT_IPV6; in resize_platform_label_table()
2542 rt2->rt_ttl_propagate = MPLS_TTL_PROP_DEFAULT; in resize_platform_label_table()
2543 rt2->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2544 rt2->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
2545 memcpy(__mpls_nh_via(rt2, rt2->rt_nh), lo->dev_addr, in resize_platform_label_table()
2568 RCU_INIT_POINTER(labels[MPLS_LABEL_IPV6NULL], rt2); in resize_platform_label_table()
2569 rt2 = NULL; in resize_platform_label_table()
2584 mpls_rt_free(rt2); in resize_platform_label_table()