Home
last modified time | relevance | path

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

/Linux-v6.6/net/core/
Dpktgen.c362 unsigned int nr_labels; /* Depth of stack, 0 = no MPLS */ member
635 if (pkt_dev->nr_labels) { in pktgen_if_show()
637 for (i = 0; i < pkt_dev->nr_labels; i++) in pktgen_if_show()
639 i == pkt_dev->nr_labels-1 ? "\n" : ", "); in pktgen_if_show()
897 pkt_dev->nr_labels = 0; in get_labels()
915 pkt_dev->nr_labels = n; in get_labels()
1635 for (n = 0; n < pkt_dev->nr_labels; n++) in pktgen_if_write()
1638 n == pkt_dev->nr_labels-1 ? "" : ","); in pktgen_if_write()
1640 if (pkt_dev->nr_labels && pkt_dev->vlan_id != 0xffff) { in pktgen_if_write()
1662 if (debug && pkt_dev->nr_labels) in pktgen_if_write()
[all …]