Lunatik

linux.packetModule

Linux kernel constants exposed under linux.packet.

Values are populated at build time from the kernel headers.

Usage

local packet = require("linux.packet")

Tables

type Packet types (PACKET_HOST, …).

Tables in detail

type
Packet types (PACKET_HOST, …). Mirrors PACKET_* defines in <uapi/linux/if_packet.h>. Keys are the kernel names with the prefix stripped: PACKET_<NAME> is linux.packet.type.<NAME>.