Module netlink.nl80211.object

Base class for the nl80211 object classes (wiphy, interface, ...): a netlink.genl session bound to the "nl80211" family, caching its id and carrying the shared dump-decode loop.

Each object class provides its GET dump command, its NEW reply command and a decode for the attributes.

See also:

Class object

object:__call () Opens the genl socket, then resolves and caches the "nl80211" family id.
object:list ([payload]) Dumps and decodes every record of the object type.


Class object

Base class for the nl80211 object classes.
object:__call ()
Opens the genl socket, then resolves and caches the "nl80211" family id.

Returns:

    object a new nl80211 object.
object:list ([payload])
Dumps and decodes every record of the object type.

Parameters:

  • payload string a serialized filter (e.g. an interface index) to scope the dump. (optional)

Returns:

    table list of decoded record tables.
generated by LDoc 1.5.0 Last updated 2026-09-05 12:27:44