Author: luigi
Date: Thu May 30 13:41:19 2013
New Revision: 251138
URL: http://svnweb.freebsd.org/changeset/base/251138

Log:
  clarify usage of NETMAP_BUF

Modified:
  head/sys/net/netmap_user.h

Modified: head/sys/net/netmap_user.h
==============================================================================
--- head/sys/net/netmap_user.h  Thu May 30 13:11:56 2013        (r251137)
+++ head/sys/net/netmap_user.h  Thu May 30 13:41:19 2013        (r251138)
@@ -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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to