Home
last modified time | relevance | path

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

/linux/net/mpls/
H A Dinternal.h112 #define MPLS_NH_SIZE(num_labels, max_via_alen) \ argument
114 ALIGN((max_via_alen), VIA_ALEN_ALIGN))
H A Daf_mpls.c837 u8 cfg_via_alen, u8 *max_via_alen, in mpls_count_nexthops() argument
843 *max_via_alen = 0; in mpls_count_nexthops()
859 *max_via_alen = max_t(u16, *max_via_alen, in mpls_count_nexthops()
970 u8 max_via_alen; in mpls_route_add() local
1010 cfg->rc_via_alen, &max_via_alen, in mpls_route_add()
1013 max_via_alen = cfg->rc_via_alen; in mpls_route_add()
1023 rt = mpls_rt_alloc(nhs, max_via_alen, max_labels); in mpls_route_add()