Home
last modified time | relevance | path

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

/linux-6.15/net/mpls/
H A Daf_mpls.c2510 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local
2522 rt0 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table()
2523 if (IS_ERR(rt0)) in resize_platform_label_table()
2525 rt0->rt_nh->nh_dev = lo; in resize_platform_label_table()
2526 rt0->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table()
2527 rt0->rt_payload_type = MPT_IPV4; in resize_platform_label_table()
2530 rt0->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
2531 memcpy(__mpls_nh_via(rt0, rt0->rt_nh), lo->dev_addr, in resize_platform_label_table()
2575 rt0 = NULL; in resize_platform_label_table()
2585 mpls_rt_free(rt0); in resize_platform_label_table()
[all …]
/linux-6.15/net/ipv6/
H A Droute.c907 struct fib6_info *rt0; in rt6_select() local
917 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select()
918 if (!rt0) in rt6_select()
919 rt0 = leaf; in rt6_select()
926 key_plen = rt0->fib6_dst.plen; in rt6_select()
928 if (rt0->fib6_src.plen) in rt6_select()
929 key_plen = rt0->fib6_src.plen; in rt6_select()
942 if (next != rt0) { in rt6_select()
2862 from = rcu_dereference(rt0->from); in rt6_update_expires()
2864 rt0->dst.expires = from->expires; in rt6_update_expires()
[all …]