linux.pkttypeModule
Linux kernel constants exposed under linux.pkttype.
Values are populated at build time from the kernel headers. Packet types (PACKET_HOST, …). MirrorsPACKET_* defines in <uapi/linux/if_packet.h>.
Keys are the kernel names with the prefix stripped: PACKET_<NAME> is linux.pkttype.<NAME>.
Usage
local pkttype = require("linux.pkttype")