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

/linux-master/net/openvswitch/
H A Dflow.c791 u8 label_count = 1; local
799 label_count * MPLS_HLEN);
805 if (label_count <= MPLS_LABEL_DEPTH)
806 memcpy(&key->mpls.lse[label_count - 1], &lse,
810 label_count * MPLS_HLEN);
814 label_count++;
816 if (label_count > MPLS_LABEL_DEPTH)
817 label_count = MPLS_LABEL_DEPTH;
819 key->mpls.num_labels_mask = GENMASK(label_count - 1, 0);
H A Dflow_netlink.c1670 u32 label_count, label_count_mask, i; local
1674 label_count = hdr_len / sizeof(struct ovs_key_mpls);
1676 if (label_count == 0 || label_count > MPLS_LABEL_DEPTH ||
1680 label_count_mask = GENMASK(label_count - 1, 0);
1682 for (i = 0 ; i < label_count; i++)
/linux-master/net/mpls/
H A Daf_mpls.c1876 u8 label_count; local
1877 if (nla_get_labels(nla, 1, &label_count,
2369 u8 label_count; local
2371 if (nla_get_labels(tb[RTA_DST], 1, &label_count,

Completed in 104 milliseconds