Home
last modified time | relevance | path

Searched refs:TP_FRAME_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/android-clat/
Dring.h30 #define TP_FRAME_SIZE (TPACKET_ALIGN(MAXMTU) + TPACKET_ALIGN(TPACKET2_HDRLEN) + 16) macro
37 #define TP_FRAMES (TP_BLOCK_SIZE / TP_FRAME_SIZE)
38 #define TP_FRAME_GAP (TP_BLOCK_SIZE % TP_FRAME_SIZE)
Dring.c56 .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()