diff options
author | luigi <luigi@FreeBSD.org> | 2013-05-30 13:41:19 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2013-05-30 13:41:19 +0000 |
commit | 93cb261dd8dc721ae8ea515803443a2a18122021 (patch) | |
tree | 9771755edaf1e6cf332fe1921e99a09c591852ec /sys/net | |
parent | 82476a4f6ba0d931ce49e344c8113472b91925b3 (diff) | |
download | FreeBSD-src-93cb261dd8dc721ae8ea515803443a2a18122021.zip FreeBSD-src-93cb261dd8dc721ae8ea515803443a2a18122021.tar.gz |
clarify usage of NETMAP_BUF
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/netmap_user.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/netmap_user.h b/sys/net/netmap_user.h index 75f211e..fcb5cb3 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); |