Lunatik

linux.arphrdModule

Linux kernel constants exposed under linux.arphrd.

Values are populated at build time from the kernel headers. Network device hardware types (ARPHRD_). Mirrors ARPHRD_ defines in <uapi/linux/if_arp.h>. Keys are the kernel names with the prefix stripped: ARPHRD_<NAME> is linux.arphrd.<NAME>.

Usage

local arphrd = require("linux.arphrd")