diff options
Diffstat (limited to 'ring_rx.h')
-rw-r--r-- | ring_rx.h | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -11,13 +11,10 @@ #include "ring.h" +extern void ring_rx_setup(struct ring *ring, int sock, size_t size, int ifindex, + struct pollfd *poll, bool v3, bool jumbo_support, + bool verbose); extern void destroy_rx_ring(int sock, struct ring *ring); -extern void create_rx_ring(int sock, struct ring *ring, bool verbose); -extern void mmap_rx_ring(int sock, struct ring *ring); -extern void alloc_rx_ring_frames(int sock, struct ring *ring); -extern void bind_rx_ring(int sock, struct ring *ring, int ifindex); -extern void setup_rx_ring_layout(int sock, struct ring *ring, size_t size, - bool jumbo_support, bool v3); extern void sock_rx_net_stats(int sock, unsigned long seen); static inline int user_may_pull_from_rx(struct tpacket2_hdr *hdr) |