summaryrefslogtreecommitdiff
path: root/sys/net/netmap_user.h
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2013-05-30 13:41:19 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2013-05-30 13:41:19 +0000
commit27892e02fb2b7cf237c01cf6b654223a436fde63 (patch)
tree9771755edaf1e6cf332fe1921e99a09c591852ec /sys/net/netmap_user.h
parent2dc26832f742a325674e8285fad2decc587856fb (diff)
downloadsrc-test2-27892e02fb2b7cf237c01cf6b654223a436fde63.tar.gz
src-test2-27892e02fb2b7cf237c01cf6b654223a436fde63.zip
Notes
Diffstat (limited to 'sys/net/netmap_user.h')
-rw-r--r--sys/net/netmap_user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/netmap_user.h b/sys/net/netmap_user.h
index 75f211e333d1..fcb5cb3ea1c1 100644
--- a/sys/net/netmap_user.h
+++ b/sys/net/netmap_user.h
@@ -51,8 +51,8 @@
* ring->slot[i] gives us the i-th slot (we can access
* directly plen, flags, bufindex)
*
- * char *buf = NETMAP_BUF(ring, index) returns a pointer to
- * the i-th buffer
+ * char *buf = NETMAP_BUF(ring, x) returns a pointer to
+ * the buffer numbered x
*
* Since rings are circular, we have macros to compute the next index
* i = NETMAP_RING_NEXT(ring, i);