Lines Matching refs:rt0
2283 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local
2295 rt0 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table()
2296 if (IS_ERR(rt0)) in resize_platform_label_table()
2298 RCU_INIT_POINTER(rt0->rt_nh->nh_dev, lo); in resize_platform_label_table()
2299 rt0->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table()
2300 rt0->rt_payload_type = MPT_IPV4; in resize_platform_label_table()
2301 rt0->rt_ttl_propagate = MPLS_TTL_PROP_DEFAULT; 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()
2347 RCU_INIT_POINTER(labels[MPLS_LABEL_IPV4NULL], rt0); in resize_platform_label_table()
2348 rt0 = NULL; in resize_platform_label_table()
2358 mpls_rt_free(rt0); in resize_platform_label_table()
2367 mpls_rt_free(rt0); in resize_platform_label_table()