Lunatik

linux.nl80211Module

Linux kernel constants exposed under linux.nl80211.

Values are populated at build time from the kernel headers.

Usage

local nl80211 = require("linux.nl80211")

Tables

attr nl80211 attributes (NL80211_ATTR_*).
cmd nl80211 commands (NL80211_CMD_*).
iftype nl80211 interface types (NL80211_IFTYPE_*).
sta_flag nl80211 station flags (NL80211_STA_FLAG_*), bit positions for STA_FLAGS2.

Tables in detail

attr
nl80211 attributes (NL80211_ATTR_). Mirrors NL80211_ATTR_ defines in <uapi/linux/nl80211.h>. Keys are the kernel names with the prefix stripped: NL80211_ATTR_<NAME> is linux.nl80211.attr.<NAME>.
cmd
nl80211 commands (NL80211_CMD_). Mirrors NL80211_CMD_ defines in <uapi/linux/nl80211.h>. Keys are the kernel names with the prefix stripped: NL80211_CMD_<NAME> is linux.nl80211.cmd.<NAME>.
iftype
nl80211 interface types (NL80211_IFTYPE_). Mirrors NL80211_IFTYPE_ defines in <uapi/linux/nl80211.h>. Keys are the kernel names with the prefix stripped: NL80211_IFTYPE_<NAME> is linux.nl80211.iftype.<NAME>.
sta_flag
nl80211 station flags (NL80211_STA_FLAG_), bit positions for STA_FLAGS2. Mirrors NL80211_STA_FLAG_ defines in <uapi/linux/nl80211.h>. Keys are the kernel names with the prefix stripped: NL80211_STA_FLAG_<NAME> is linux.nl80211.sta_flag.<NAME>.