nl80211-buildtools

Crates.ionl80211-buildtools
lib.rsnl80211-buildtools
version0.1.1
created_at2018-10-15 20:20:49.975051+00
updated_at2025-10-28 13:45:32.968169+00
descriptionTools for building datastructures and constants for nl80211
homepage
repositoryhttps://github.com/blueluna/nl80211-rs
max_upload_size
id90388
size105,345
Erik BÄnvik (blueluna)

documentation

README

nl80211 built tools

A helper crate for generating code from JSON definition files.

These JSON definition files can be generated with the specgen tool found as an example in this crate.

Specification generator

specgen -i <intput> -o <output> -n <name> -t <type>

Generates a specification file from a (nl80211) kernel header.

  • <intput>, Path to the nl80211.h kernel header
  • <output>, Path to the description file to write
  • <name>, Name of the enum or attribute to describe.
  • <type>, Either "enum" or "attribute" to generate an attribute or enumeration description.
specgen -i /usr/include/linux/nl80211.h -n nl80211_attrs -t attribute -o nl80211_attributes.json
Commit count: 0

cargo fmt