Lines Matching refs:req3
75 struct tpacket_req3 req3; member
363 return f0 + (n * ring->req3.tp_frame_size); in get_next_frame()
390 nframes = ring->req3.tp_frame_nr; in walk_tx()
649 ring->req3.tp_retire_blk_tov = 64; in __v3_fill()
650 ring->req3.tp_sizeof_priv = 0; in __v3_fill()
651 ring->req3.tp_feature_req_word = TP_FT_REQ_FILL_RXHASH; in __v3_fill()
653 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill()
654 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
655 ring->req3.tp_block_nr = blocks; in __v3_fill()
657 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
658 ring->req3.tp_frame_size * in __v3_fill()
659 ring->req3.tp_block_nr; in __v3_fill()
661 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
663 ring->rd_num = ring->req3.tp_block_nr; in __v3_fill()
664 ring->flen = ring->req3.tp_block_size; in __v3_fill()
687 ret = setsockopt(sock, SOL_PACKET, type, &ring->req3, in setup_ring()
688 sizeof(ring->req3)); in setup_ring()