Searched refs:num_nh (Results 1 – 1 of 1) sorted by relevance
365 static struct mpls_route *mpls_rt_alloc(int num_nh, u8 max_alen) in mpls_rt_alloc() argument370 rt = kzalloc(ALIGN(sizeof(*rt) + num_nh * sizeof(*rt->rt_nh), in mpls_rt_alloc()372 num_nh * max_alen_aligned, in mpls_rt_alloc()375 rt->rt_nhn = num_nh; in mpls_rt_alloc()