Lines Matching refs:req3
87 struct tpacket_req3 req3; member
607 ring->req3.tp_retire_blk_tov = 64; in __v3_fill()
608 ring->req3.tp_sizeof_priv = 0; in __v3_fill()
609 ring->req3.tp_feature_req_word = TP_FT_REQ_FILL_RXHASH; in __v3_fill()
611 ring->req3.tp_block_size = getpagesize() << 2; in __v3_fill()
612 ring->req3.tp_frame_size = TPACKET_ALIGNMENT << 7; in __v3_fill()
613 ring->req3.tp_block_nr = blocks; in __v3_fill()
615 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
616 ring->req3.tp_frame_size * in __v3_fill()
617 ring->req3.tp_block_nr; in __v3_fill()
619 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
621 ring->rd_num = ring->req3.tp_block_nr; in __v3_fill()
622 ring->flen = ring->req3.tp_block_size; in __v3_fill()
645 ret = setsockopt(sock, SOL_PACKET, type, &ring->req3, in setup_ring()
646 sizeof(ring->req3)); in setup_ring()