Lunatik

linux.netdevModule

Linux kernel constants exposed under linux.netdev.

Values are populated at build time from the kernel headers. Network device notifier event types. Mirrors NETDEV_* defines in <linux/netdevice.h>. Keys are the kernel names with the prefix stripped: NETDEV_<NAME> is linux.netdev.<NAME>.

Usage

local netdev = require("linux.netdev")