Crate af_packet [−] [src]
Structs
Block |
Contains a reference to a block as it exists in the ring buffer, its block descriptor, and a Vec of individual packets in that block. |
RawPacket |
Contains a reference to an individual packet in a block, as well as details about that packet |
Ring |
References a single mmaped ring buffer. Normally one per thread. |
RingSettings |
Settings to be used to bring up each ring |
Tpacket3Hdr |
Contains details about individual packets in a block |
TpacketHdrVariant1 |
Contains VLAN tags and RX Hash value (if enabled) |
TpacketReq3 |
Lower-level settings about ring buffer allocation and behavior tp_frame_size * tp_frame_nr must equal tp_block_size * tp_block_nr |
Constants
PACKET_FANOUT_HASH | |
PACKET_FANOUT_LB |