Lines Matching refs:plen
889 key_plen = rt0->fib6_dst.plen; in rt6_select()
891 if (rt0->fib6_src.plen) in rt6_select()
892 key_plen = rt0->fib6_src.plen; in rt6_select()
1343 rt->rt6i_dst.plen = 128; in ip6_rt_cache_alloc()
1346 if (f6i->fib6_dst.plen != 128 && in ip6_rt_cache_alloc()
1350 if (rt->rt6i_src.plen && saddr) { in ip6_rt_cache_alloc()
1352 rt->rt6i_src.plen = 128; in ip6_rt_cache_alloc()
1690 if (f6i->fib6_src.plen) in rt6_insert_exception()
1809 if (res->f6i->fib6_src.plen) in rt6_find_cached_rt()
1831 static int fib6_nh_remove_exception(const struct fib6_nh *nh, int plen, in fib6_nh_remove_exception() argument
1852 if (plen) in fib6_nh_remove_exception()
1871 int plen; member
1879 err = fib6_nh_remove_exception(nh, arg->plen, arg->rt); in rt6_nh_remove_exception_rt()
1897 .plen = from->fib6_src.plen in rt6_remove_exception_rt()
1909 from->fib6_src.plen, rt); in rt6_remove_exception_rt()
1915 static void fib6_nh_update_exception(const struct fib6_nh *nh, int plen, in fib6_nh_update_exception() argument
1930 if (plen) in fib6_nh_update_exception()
1986 fib6_nh_update_exception(fib6_nh, from->fib6_src.plen, rt); in rt6_update_exception_stamp_rt()
3276 rt->rt6i_dst.plen = 128; in icmp6_dst_alloc()
3785 rt->fib6_dst.plen = cfg->fc_dst_len; in ip6_route_info_create()
3789 rt->fib6_src.plen = cfg->fc_src_len; in ip6_route_info_create()
3792 if (rt->fib6_src.plen) { in ip6_route_info_create()
3827 rt->fib6_prefsrc.plen = 128; in ip6_route_info_create()
3829 rt->fib6_prefsrc.plen = 0; in ip6_route_info_create()
4584 rt->fib6_prefsrc.plen = 0; in fib6_remove_prefsrc()
5047 int plen = (rtm->rtm_dst_len + 7) >> 3; in rtm_to_fib6_config() local
5049 if (nla_len(tb[RTA_DST]) < plen) in rtm_to_fib6_config()
5052 nla_memcpy(&cfg->fc_dst, tb[RTA_DST], plen); in rtm_to_fib6_config()
5056 int plen = (rtm->rtm_src_len + 7) >> 3; in rtm_to_fib6_config() local
5058 if (nla_len(tb[RTA_SRC]) < plen) in rtm_to_fib6_config()
5061 nla_memcpy(&cfg->fc_src, tb[RTA_SRC], plen); in rtm_to_fib6_config()
5614 rtm->rtm_dst_len = rt6_dst->plen; in rt6_fill_node()
5615 rtm->rtm_src_len = rt6_src->plen; in rt6_fill_node()
5669 if (rt->fib6_prefsrc.plen) { in rt6_fill_node()