nl80211-rs

Crates.ionl80211-rs
lib.rsnl80211-rs
version0.1.1
created_at2018-10-15 20:44:50.192547+00
updated_at2025-10-28 13:45:47.375743+00
descriptionnl80211 library in Rust
homepage
repositoryhttps://github.com/blueluna/nl80211-rs
max_upload_size
id90820
size234,120
Erik BÄnvik (blueluna)

documentation

README

nl80211 in Rust

Handling nl80211, IEEE 802.11 Netlink protocol, in Rust. Work in progress.

Example

If run without arguments the example program will listen for nl80211 events. If a new scan event is received the scan results will be fetched.

$ cargo run --release --example nl80211

To run some example commands administrative access is needed, Set administrative capabilities like so,

sudo setcap cap_net_admin+ep ./target/release/examples/nl80211

Then it is possible to initiate a scan for example.

./target/release/examples/nl80211 scan

Compatability

Rust 1.30.0 or later is needed.

Tested on following platforms,

  • Linux 4.18 x86_64, Fedora 28
  • Linux 4.1 ARMv7
  • Linux 4.9 AArch64

License

Licensed under the MIT license.

Crates.io

Commit count: 0

cargo fmt