linux.genlModule
Linux kernel constants exposed under linux.genl.
Values are populated at build time from the kernel headers.Usage
local genl = require("linux.genl")
Tables
| ctrl.attr | Generic netlink controller attributes (CTRL_ATTR_*). |
| ctrl.cmd | Generic netlink controller commands (CTRL_CMD_*). |
| id | Generic netlink reserved family ids (GENL_ID_*). |
| layout | Generic netlink header layout. |
Tables in detail
- ctrl.attr
-
Generic netlink controller attributes (CTRL_ATTR_).
Mirrors
CTRL_ATTR_defines in<uapi/linux/genetlink.h>. Keys are the kernel names with the prefix stripped:CTRL_ATTR_<NAME>islinux.genl.ctrl.attr.<NAME>. - ctrl.cmd
-
Generic netlink controller commands (CTRL_CMD_).
Mirrors
CTRL_CMD_defines in<uapi/linux/genetlink.h>. Keys are the kernel names with the prefix stripped:CTRL_CMD_<NAME>islinux.genl.ctrl.cmd.<NAME>. - id
-
Generic netlink reserved family ids (GENL_ID_).
Mirrors
GENL_ID_defines in<uapi/linux/genetlink.h>. Keys are the kernel names with the prefix stripped:GENL_ID_<NAME>islinux.genl.id.<NAME>. - layout
-
Generic netlink header layout.
Layout descriptors (per-field offset/size/signedness) generated from
<uapi/linux/genetlink.h>; consume viarequire("struct").