Searched refs:label_count (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/net/openvswitch/ |
D | flow.c | 640 u8 label_count = 1; in key_extract_l3l4() local 648 label_count * MPLS_HLEN); in key_extract_l3l4() 654 if (label_count <= MPLS_LABEL_DEPTH) in key_extract_l3l4() 655 memcpy(&key->mpls.lse[label_count - 1], &lse, in key_extract_l3l4() 659 label_count * MPLS_HLEN); in key_extract_l3l4() 663 label_count++; in key_extract_l3l4() 665 if (label_count > MPLS_LABEL_DEPTH) in key_extract_l3l4() 666 label_count = MPLS_LABEL_DEPTH; in key_extract_l3l4() 668 key->mpls.num_labels_mask = GENMASK(label_count - 1, 0); in key_extract_l3l4()
|
D | flow_netlink.c | 1634 u32 label_count, label_count_mask, i; in ovs_key_from_nlattrs() local 1638 label_count = hdr_len / sizeof(struct ovs_key_mpls); in ovs_key_from_nlattrs() 1640 if (label_count == 0 || label_count > MPLS_LABEL_DEPTH || in ovs_key_from_nlattrs() 1644 label_count_mask = GENMASK(label_count - 1, 0); in ovs_key_from_nlattrs() 1646 for (i = 0 ; i < label_count; i++) in ovs_key_from_nlattrs()
|
/kernel/linux/linux-5.10/net/mpls/ |
D | af_mpls.c | 1896 u8 label_count; in rtm_to_route_config() local 1897 if (nla_get_labels(nla, 1, &label_count, in rtm_to_route_config() 2391 u8 label_count; in mpls_getroute() local 2393 if (nla_get_labels(tb[RTA_DST], 1, &label_count, in mpls_getroute()
|