Home
last modified time | relevance | path

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

/Linux-v5.4/net/mpls/
Dinternal.h112 #define MPLS_NH_SIZE(num_labels, max_via_alen) \ argument
114 ALIGN((max_via_alen), VIA_ALEN_ALIGN))
Daf_mpls.c835 u8 cfg_via_alen, u8 *max_via_alen, in mpls_count_nexthops() argument
841 *max_via_alen = 0; in mpls_count_nexthops()
857 *max_via_alen = max_t(u16, *max_via_alen, in mpls_count_nexthops()
968 u8 max_via_alen; in mpls_route_add() local
1008 cfg->rc_via_alen, &max_via_alen, in mpls_route_add()
1011 max_via_alen = cfg->rc_via_alen; in mpls_route_add()
1022 rt = mpls_rt_alloc(nhs, max_via_alen, max_labels); in mpls_route_add()