[][src]Crate xsk_rs

xsk-rs

A rust interface for AF_XDP sockets using libbpf.

For more information please see the networking docs or a more detailed overview.

Some simple examples may be found in the examples directory in the GitHub repo.

Modules

socket
umem

Structs

BindFlags
CompQueue

Used to transfer ownership of UMEM frames from kernel-space to user-space.

FillQueue

Used to transfer ownership of UMEM frames from user-space to kernel-space.

FrameDesc

Describes a UMEM frame's address and size of its current contents.

LibbpfFlags
RxQueue

The receiving side of an AF_XDP socket.

Socket

An AF_XDP socket.

SocketConfig

Config for a Socket.

TxQueue

The transmitting side of an AF_XDP socket.

Umem

A region of virtual contiguous memory divided into equal-sized frames. It provides the underlying working memory for an AF_XDP socket.

UmemConfig

Config for a Umem instance.

XdpFlags

Enums

AccessError

UMEM access errors

DataError

Data related errors

WriteError

Errors that may occur when writing data to the UMEM.