Lines Matching refs:req3
89 struct tpacket_req3 req3; member
377 return f0 + (n * ring->req3.tp_frame_size); in get_next_frame()
404 nframes = ring->req3.tp_frame_nr; in walk_tx()
663 ring->req3.tp_retire_blk_tov = 64; in __v3_fill()
664 ring->req3.tp_sizeof_priv = 0; in __v3_fill()
665 ring->req3.tp_feature_req_word = TP_FT_REQ_FILL_RXHASH; in __v3_fill()
667 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill()
668 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
669 ring->req3.tp_block_nr = blocks; in __v3_fill()
671 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
672 ring->req3.tp_frame_size * in __v3_fill()
673 ring->req3.tp_block_nr; in __v3_fill()
675 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
677 ring->rd_num = ring->req3.tp_block_nr; in __v3_fill()
678 ring->flen = ring->req3.tp_block_size; in __v3_fill()
701 ret = setsockopt(sock, SOL_PACKET, type, &ring->req3, in setup_ring()
702 sizeof(ring->req3)); in setup_ring()