linux.netlinkModule
Linux kernel constants exposed under linux.netlink.
Values are populated at build time from the kernel headers.Usage
local netlink = require("linux.netlink")
Tables
| align | Netlink wire alignment (NLMSG_ALIGNTO). |
| flag | Netlink message flags (NLM_F_*). |
| layout | Netlink header layouts. |
| proto | Netlink protocol numbers. |
| type | Special netlink message types. |
Tables in detail
- align
-
Netlink wire alignment (NLMSG_ALIGNTO).
Mirrors
NLMSG_*defines in<uapi/linux/netlink.h>. Keys are the kernel names with the prefix stripped:NLMSG_<NAME>islinux.netlink.align.<NAME>. - flag
-
Netlink message flags (NLM_F_).
Mirrors
NLM_F_defines in<uapi/linux/netlink.h>. Keys are the kernel names with the prefix stripped:NLM_F_<NAME>islinux.netlink.flag.<NAME>. - layout
-
Netlink header layouts.
Layout descriptors (per-field offset/size/signedness) generated from
<uapi/linux/netlink.h>; consume viarequire("struct"). - proto
-
Netlink protocol numbers.
Mirrors
NETLINK_*defines in<uapi/linux/netlink.h>. Keys are the kernel names with the prefix stripped:NETLINK_<NAME>islinux.netlink.proto.<NAME>. - type
-
Special netlink message types.
Mirrors
NLMSG_*defines in<uapi/linux/netlink.h>. Keys are the kernel names with the prefix stripped:NLMSG_<NAME>islinux.netlink.type.<NAME>.