[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
src/share/man/man9/altq.9 rewording
The macro prototype is shown as:
void
IFQ_ENQUEUE(struct ifaltq *ifq, struct mbuf *m,
struct altq_pktattr *pa, int err);
and there appears to be some inconsistencies in referring to the various
arguments.
Index: altq.9
===================================================================
RCS file: /cvs/src/share/man/man9/altq.9,v
retrieving revision 1.10
diff -u -r1.10 altq.9
--- altq.9 2003/04/14 18:11:32 1.10
+++ altq.9 2004/01/24 07:08:30
@@ -78,7 +78,7 @@
to the queue
.Fa ifq .
The underlying queuing discipline may discard the packet.
-.Fa error
+.Fa err
is set to 0 on success, or
.Dv ENOBUFS
if the packet is discarded.
@@ -242,18 +242,22 @@
.Fa err
is set to
.Dv ENOBUFS .
-.Fa mbuf
+.Fa m
is freed by the queuing discipline.
-The caller should not touch mbuf after calling
-.Fn IFQ_ENQUEUE
-so that the caller may need to copy
+The caller should not touch
+.Fa m
+after calling
+.Fn IFQ_ENQUEUE ,
+so the caller may need to copy the
.Fa m_pkthdr.len
or
.Fa m_flags
-field beforehand for statistics.
+fields beforehand for statistics.
The caller should not use
.Fn senderr
-since mbuf was already freed.
+since
+.Fa m
+was already freed.
.Pp
The new style
.Fn if_output