summaryrefslogtreecommitdiff
path: root/ring_tx.h
diff options
context:
space:
mode:
Diffstat (limited to 'ring_tx.h')
-rw-r--r--ring_tx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ring_tx.h b/ring_tx.h
index ea99fc6..70dd401 100644
--- a/ring_tx.h
+++ b/ring_tx.h
@@ -19,8 +19,8 @@ extern void create_tx_ring(int sock, struct ring *ring, int verbose);
extern void mmap_tx_ring(int sock, struct ring *ring);
extern void alloc_tx_ring_frames(int sock, struct ring *ring);
extern void bind_tx_ring(int sock, struct ring *ring, int ifindex);
-extern void setup_tx_ring_layout(int sock, struct ring *ring,
- unsigned int size, bool jumbo_support);
+extern void setup_tx_ring_layout(int sock, struct ring *ring, size_t size,
+ bool jumbo_support);
extern void set_packet_loss_discard(int sock);
static inline int user_may_pull_from_tx(struct tpacket2_hdr *hdr)