Releases: DouglasGray/xsk-rs
Releases · DouglasGray/xsk-rs
v0.6.1
v0.6.0
Changed
- use
libxdp-sys
instead oflibbpf-sys
v0.5.0
Merge pull request #18 from DouglasGray/feat/bump-libbpf-version bump libbpf-sys to 0.8.3, set minor version on other deps
v0.4.1
Added
- provide
FrameDesc
with aDefault
impl to make generating empty
descs for rx simpler
Fixed
- negate error codes when calling
io::Error::from_raw_os_error
- some
libc
calls just return-1
on error, not an informative
error code so in these cases callio::Error::last_os_error()
instead ofio::Error::from_raw_os_error(err)
, whereerr
is
always equal to-1
...
v0.4.0
Added
- add
contents_mut
to{Data, Headroom}Mut
, along with other
convenience traits ({As, Borrow, Deref}{Mut}
)
Changed
- update
{Data, Headroom}Mut::cursor
docs to clarify when{Data, Headroom}Mut::contents_mut
might be more appropriate - more colour to safety section of
Umem::frame
andUmem::frame_mut
indicating why using the frame desc of another UMEM might be
problematic
v0.3.0
- support shared UMEM
- support retrieving XDP statistics
- new frame structs (e.g.
Data
,DataMut
) to allow more granular UMEM access along with clearer separation between headroom and packet data. Includes a cursor for convenient writing and keeping track of frame headroom / data lengths - config builders and add extra types to enforce restrictions on certain values / sizes (e.g queue sizes)
- bump libs
v0.2.4
- expose the socket file descriptor on the
Fd
struct to make it possible to register the socket manually - bump libbpf-sys to version 0.4
v0.2.3
bump minor version for docs fixes
v0.2.2
bump lib versions
v0.2.1
fix docs and bump crate version