'\" t .\" Title: netdev_completed_queue .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: September 2017 .\" Manual: Network device support .\" Source: Kernel Hackers Manual 4.12.13 .\" Language: English .\" .TH "NETDEV_COMPLETED_QUE" "9" "September 2017" "Kernel Hackers Manual 4\&.12\&" "Network device support" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" netdev_completed_queue \- report bytes and packets completed by device .SH "SYNOPSIS" .HP \w'void\ netdev_completed_queue('u .BI "void netdev_completed_queue(struct\ net_device\ *\ " "dev" ", unsigned\ int\ " "pkts" ", unsigned\ int\ " "bytes" ");" .SH "ARGUMENTS" .PP \fIstruct net_device * dev\fR .RS 4 network device .RE .PP \fIunsigned int pkts\fR .RS 4 actual number of packets sent over the medium .RE .PP \fIunsigned int bytes\fR .RS 4 actual number of bytes sent over the medium .RE .SH "DESCRIPTION" .PP Report the number of bytes and packets transmitted by the network device hardware queue over the physical medium, \fIbytes\fR must exactly match the \fIbytes\fR amount passed to \fBnetdev_sent_queue\fR .SH "COPYRIGHT" .br