nl80211rs 0.1.0

Hand conversion of netlink 802.11 interface public header file (nl80211.h) into a module
Documentation
  • Coverage
  • 0%
    0 out of 899 items documented0 out of 78 items with examples
  • Size
  • Source code size: 20.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 16.42 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • carrotsrc

nl80211rs

This is a hand conversion of the 802.11 netlink interface public header file into a rust module. The style has been changed to conventional CamelCase and the prefix to the enum and consts values is removed; reasoning being that the prefix is redundant given crate and module namespaces.

crate::enum::CamelCaseUid

eg.

nl80211_commands::NL80211_CMD_START_AP

Becomes

nl80211rs::Commands::StartAp

The constants are held in their own module nl80211rs::constants. Constants are almost identical to the prepocessor directives, except they are not prefixed with NL80211_.

Progress

  • Included all enums and structures in the header. They are near 1:1 with a few exceptions; one being aliased commands in nl80211::Commands, which have prefix Alias, where their real values can be resolved in nl80211::alias::Commands. It is a bit of a short term hack.

  • Included a range of constants, but not all define directives have been included.

  • Comments are sparse-to-non-existant.