Module af_packet::rx[][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

Constants

PACKET_FANOUT_HASH
PACKET_FANOUT_LB

Functions

get_rx_statistics

This is very easy because the Linux kernel has its own counters that are reset every time getsockopt() is called