Searched refs:label_count (Results 1 - 3 of 3) sorted by relevance

/linux-master/net/openvswitch/
H A Dflow.c790 u8 label_count = 1; local
798 label_count * MPLS_HLEN);
804 if (label_count <= MPLS_LABEL_DEPTH)
805 memcpy(&key->mpls.lse[label_count - 1], &lse,
809 label_count * MPLS_HLEN);
813 label_count++;
815 if (label_count > MPLS_LABEL_DEPTH)
816 label_count = MPLS_LABEL_DEPTH;
818 key->mpls.num_labels_mask = GENMASK(label_count - 1, 0);
H A Dflow_netlink.c1658 u32 label_count, label_count_mask, i; local
1662 label_count = hdr_len / sizeof(struct ovs_key_mpls);
1664 if (label_count == 0 || label_count > MPLS_LABEL_DEPTH ||
1668 label_count_mask = GENMASK(label_count - 1, 0);
1670 for (i = 0 ; i < label_count; i++)
/linux-master/net/mpls/
H A Daf_mpls.c1893 u8 label_count; local
1894 if (nla_get_labels(nla, 1, &label_count,
2386 u8 label_count; local
2388 if (nla_get_labels(tb[RTA_DST], 1, &label_count,

Completed in 115 milliseconds