Lunatik

linux.ethModule

Linux kernel constants exposed under linux.eth.

Values are populated at build time from the kernel headers.

Usage

local eth = require("linux.eth")

Tables

proto Ethernet protocol IDs.

Tables in detail

proto
Ethernet protocol IDs. Mirrors ETH_P_* defines in <uapi/linux/if_ether.h>. Keys are the kernel names with the prefix stripped: ETH_P_<NAME> is linux.eth.proto.<NAME>.