Searched refs:TP_FRAME_SIZE (Results 1 – 2 of 2) sorted by relevance
30 #define TP_FRAME_SIZE (TPACKET_ALIGN(MAXMTU) + TPACKET_ALIGN(TPACKET2_HDRLEN) + 16) macro37 #define TP_FRAMES (TP_BLOCK_SIZE / TP_FRAME_SIZE)38 #define TP_FRAME_GAP (TP_BLOCK_SIZE % TP_FRAME_SIZE)
56 .tp_frame_size = TP_FRAME_SIZE, // Frame size. in ring_create()77 ring->numslots = TP_BLOCK_SIZE / TP_FRAME_SIZE; in ring_create()94 next += TP_FRAME_SIZE; in ring_advance()