Home
last modified time | relevance | path

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

/openbmc/linux/net/mpls/
H A Daf_mpls.c110 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()
2009 if (nh->nh_labels && in mpls_dump_route()
2010 nla_put_labels(skb, RTA_NEWDST, nh->nh_labels, in mpls_dump_route()
2053 if (nh->nh_labels && nla_put_labels(skb, RTA_NEWDST, in mpls_dump_route()
2054 nh->nh_labels, in mpls_dump_route()
2234 if (nh->nh_labels) /* RTA_NEWDST */ in lfib_nlmsg_size()
[all …]
H A Dinternal.h96 u8 nh_labels; member