Searched refs:nh_labels (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/mpls/ |
H A D | af_mpls.c | 109 return nh->nh_labels * sizeof(struct mpls_shim_hdr); in mpls_nh_header_size() 444 for (i = nh->nh_labels - 1; i >= 0; i--) { in mpls_forward() 776 nh->nh_labels = cfg->rc_output_labels; in mpls_nh_build_from_cfg() 777 for (i = 0; i < nh->nh_labels; i++) in mpls_nh_build_from_cfg() 808 err = nla_get_labels(newdst, max_labels, &nh->nh_labels, in mpls_nh_build() 2028 if (nh->nh_labels && in mpls_dump_route() 2029 nla_put_labels(skb, RTA_NEWDST, nh->nh_labels, in mpls_dump_route() 2072 if (nh->nh_labels && nla_put_labels(skb, RTA_NEWDST, in mpls_dump_route() 2073 nh->nh_labels, in mpls_dump_route() 2257 if (nh->nh_labels) /* RTA_NEWDS in lfib_nlmsg_size() [all...] |
H A D | internal.h | 96 u8 nh_labels; member
|
/kernel/linux/linux-6.6/net/mpls/ |
H A D | af_mpls.c | 110 return nh->nh_labels * sizeof(struct mpls_shim_hdr); in mpls_nh_header_size() 447 for (i = nh->nh_labels - 1; i >= 0; i--) { in mpls_forward() 779 nh->nh_labels = cfg->rc_output_labels; in mpls_nh_build_from_cfg() 780 for (i = 0; i < nh->nh_labels; i++) in mpls_nh_build_from_cfg() 811 err = nla_get_labels(newdst, max_labels, &nh->nh_labels, in mpls_nh_build() 2025 if (nh->nh_labels && in mpls_dump_route() 2026 nla_put_labels(skb, RTA_NEWDST, nh->nh_labels, in mpls_dump_route() 2069 if (nh->nh_labels && nla_put_labels(skb, RTA_NEWDST, in mpls_dump_route() 2070 nh->nh_labels, in mpls_dump_route() 2250 if (nh->nh_labels) /* RTA_NEWDS in lfib_nlmsg_size() [all...] |
H A D | internal.h | 96 u8 nh_labels; member
|
Completed in 8 milliseconds