Home
last modified time | relevance | path

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

/linux/net/mpls/
H A Daf_mpls.c2589 struct mpls_route *rt0 = NULL, *rt2 = NULL; in resize_platform_label_table() local
2602 rt0 = mpls_rt_alloc(1, lo->addr_len, 0); in resize_platform_label_table()
2603 if (IS_ERR(rt0)) in resize_platform_label_table()
2606 rt0->rt_nh->nh_dev = lo; in resize_platform_label_table()
2607 netdev_hold(lo, &rt0->rt_nh->nh_dev_tracker, GFP_KERNEL); in resize_platform_label_table()
2608 rt0->rt_protocol = RTPROT_KERNEL; in resize_platform_label_table()
2609 rt0->rt_payload_type = MPT_IPV4; in resize_platform_label_table()
2610 rt0->rt_ttl_propagate = MPLS_TTL_PROP_DEFAULT; in resize_platform_label_table()
2611 rt0->rt_nh->nh_via_table = NEIGH_LINK_TABLE; in resize_platform_label_table()
2612 rt0->rt_nh->nh_via_alen = lo->addr_len; in resize_platform_label_table()
[all …]
/linux/net/ipv6/
H A Droute.c911 struct fib6_info *rt0; in rt6_select() local
921 rt0 = rcu_dereference(fn->rr_ptr); in rt6_select()
922 if (!rt0) in rt6_select()
923 rt0 = leaf; in rt6_select()
930 key_plen = rt0->fib6_dst.plen; in rt6_select()
932 if (rt0->fib6_src.plen) in rt6_select()
933 key_plen = rt0->fib6_src.plen; in rt6_select()
938 find_rr_leaf(fn, leaf, rt0, oif, strict, &do_rr, res); in rt6_select()
940 struct fib6_info *next = rcu_dereference(rt0->fib6_next); in rt6_select()
943 if (!next || next->fib6_metric != rt0 in rt6_select()
2897 rt6_update_expires(struct rt6_info * rt0,int timeout) rt6_update_expires() argument
[all...]