Home
last modified time | relevance | path

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

/linux-4.4.14/net/mpls/
Daf_mpls.c365 static struct mpls_route *mpls_rt_alloc(int num_nh, u8 max_alen) in mpls_rt_alloc() argument
370 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()