Skip to content

Releases: DouglasGray/xsk-rs

v0.6.1

19 May 14:08
85b1f5e
Compare
Choose a tag to compare

Changed

  • updated example in readme

v0.6.0

19 May 13:41
4795b99
Compare
Choose a tag to compare

Changed

  • use libxdp-sys instead of libbpf-sys

v0.5.0

18 Oct 20:09
d07fa07
Compare
Choose a tag to compare
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

10 Mar 21:52
94bd465
Compare
Choose a tag to compare

Added

  • provide FrameDesc with a Default 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 call io::Error::last_os_error()
    instead of io::Error::from_raw_os_error(err), where err is
    always equal to -1...

v0.4.0

09 Feb 23:05
e4b3826
Compare
Choose a tag to compare

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 and Umem::frame_mut
    indicating why using the frame desc of another UMEM might be
    problematic

v0.3.0

17 Jan 21:39
Compare
Choose a tag to compare
  • 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

10 Jul 21:11
Compare
Choose a tag to compare
  • 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

08 Jun 23:20
Compare
Choose a tag to compare
bump minor version for docs fixes

v0.2.2

25 May 22:15
Compare
Choose a tag to compare
bump lib versions

v0.2.1

29 Jan 23:10
Compare
Choose a tag to compare
fix docs and bump crate version