summaryrefslogtreecommitdiff
path: root/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'ring.h')
-rw-r--r--ring.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ring.h b/ring.h
index 0ac72bb..6517a80 100644
--- a/ring.h
+++ b/ring.h
@@ -200,7 +200,7 @@ static inline int get_sockopt_tpacket(int sock)
extern void setup_ring_layout_generic(int sock, struct ring *ring, size_t size,
bool jumbo_support);
extern void mmap_ring_generic(int sock, struct ring *ring);
-extern void alloc_ring_frames_generic(struct ring *ring, int num, size_t size);
+extern void alloc_ring_frames_generic(struct ring *ring, size_t num, size_t size);
extern void bind_ring_generic(int sock, struct ring *ring, int ifindex, bool tx_only);
#endif /* RING_H */