Lines Matching defs:packets
325 static u64 veth_stats_tx(struct net_device *dev, u64 *packets, u64 *bytes)
329 dev_lstats_read(dev, packets, bytes);
344 u64 packets, bytes, drops, xdp_tx_err, peer_tq_xdp_xmit_err;
352 packets = stats->vs.xdp_packets;
358 result->xdp_packets += packets;
370 u64 packets, bytes;
372 tot->tx_dropped = veth_stats_tx(dev, &packets, &bytes);
374 tot->tx_packets = packets;
385 veth_stats_tx(peer, &packets, &bytes);
387 tot->rx_packets += packets;