Home
last modified time | relevance | path

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

/net/mpls/
Daf_mpls.c66 int nh_index = nh - rt->rt_nh; in __mpls_nh_via() local
68 return nh0_via + rt->rt_max_alen * nh_index; in __mpls_nh_via()
174 int nh_index = 0; in mpls_select_multipath() local
187 nh_index = hash % alive; in mpls_select_multipath()
193 if (n == nh_index) in mpls_select_multipath()
199 return &rt->rt_nh[nh_index]; in mpls_select_multipath()