Skip to content
@rust-netlink

rust-netlink

Netlink

This project aims at providing building blocks for netlink (see man 7 netlink).

Organization

Altnernatives

Architecture Decision Records

The architecture desion records are stored in https://github.com/rust-netlink/.github/tree/main/architecture_decisions

Credits

My main resource so far has been the source code of pyroute2 (python) and netlink (golang) a lot. These two projects are great, and very nicely written. As someone who does not read C fluently, and that does not know much about netlink, they have been invaluable.

I'd also like to praise libnl for its documentation. It helped me a lot in understanding the protocol basics.

The whole packet parsing logic is inspired by @whitequark excellent blog posts (part 1, part 2 and part 3, although I've only really used the concepts described in the first blog post).

Thanks also to the people behind tokio for the amazing tool they are building, and the support they provide.

Pinned Loading

  1. rtnetlink rtnetlink Public

    Rust 98 57

  2. mptcp-pm mptcp-pm Public

    Rust 2 2

  3. ethtool ethtool Public

    Rust 6 8

  4. wl-nl80211 wl-nl80211 Public

    Rust 7 11

  5. audit audit Public

    Rust 7 3

  6. new-crate-review new-crate-review Public

    Used for new crate review

    1

Repositories

Showing 10 of 21 repositories
  • netlink-sys Public

    netlink sockets, with optional integration with tokio

    rust-netlink/netlink-sys’s past year of commit activity
    Rust 17 11 3 0 Updated Dec 11, 2024
  • netlink-packet-utils Public

    macros and helpers for parsing netlink messages

    rust-netlink/netlink-packet-utils’s past year of commit activity
    Rust 1 17 3 4 Updated Dec 1, 2024
  • netlink-proto Public
    rust-netlink/netlink-proto’s past year of commit activity
    Rust 8 16 6 3 Updated Dec 1, 2024
  • rust-netlink/netlink-packet-generic’s past year of commit activity
    Rust 6 8 1 0 Updated Oct 23, 2024
  • wl-nl80211 Public
    rust-netlink/wl-nl80211’s past year of commit activity
    Rust 7 11 2 1 Updated Oct 21, 2024
  • netlink-packet-route Public

    Rust crate for the netlink route protocol

    rust-netlink/netlink-packet-route’s past year of commit activity
    Rust 28 50 18 (4 issues need help) 7 Updated Sep 12, 2024
  • .github Public
    rust-netlink/.github’s past year of commit activity
    0 1 2 0 Updated Aug 20, 2024
  • rtnetlink Public
    rust-netlink/rtnetlink’s past year of commit activity
    Rust 98 57 18 17 Updated Aug 17, 2024
  • ethtool Public
    rust-netlink/ethtool’s past year of commit activity
    Rust 6 8 3 1 Updated May 21, 2024
  • rust-netlink/netlink-packet-sock-diag’s past year of commit activity
    Rust 9 7 3 3 Updated May 5, 2024

Top languages

Rust

Most used topics

Loading…