summaryrefslogtreecommitdiffstats
path: root/ring.h
diff options
context:
space:
mode:
Diffstat (limited to 'ring.h')
-rw-r--r--ring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ring.h b/ring.h
index b9b8c11..9e517be 100644
--- a/ring.h
+++ b/ring.h
@@ -42,6 +42,9 @@ struct tun_data;
// results in 656 frames (1048576 bytes).
#define TP_NUM_BLOCKS 16
+#define TP_CSUM_NONE (0)
+#define TP_CSUM_UNNECESSARY (1)
+
struct packet_ring {
uint8_t *base;
struct tpacket2_hdr *next;