Lunatik

linux.dropreasonModule

Linux kernel constants exposed under linux.dropreason.

Values are populated at build time from the kernel headers. Socket buffer (skb) drop reasons, as kfree_skb_reason() receives them. Mirrors SKB_DROP_REASON_* defines in <linux/skbuff.h>. Keys are the kernel names with the prefix stripped: SKB_DROP_REASON_<NAME> is linux.dropreason.<NAME>.

Usage

local dropreason = require("linux.dropreason")