/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _LINUX_DROPREASON_CORE_H #define _LINUX_DROPREASON_CORE_H #define DEFINE_DROP_REASON(FN, FNe) … /** * enum skb_drop_reason - the reasons of skb drops * * The reason of skb drop, which is used in kfree_skb_reason(). */ enum skb_drop_reason { … }; #define SKB_DROP_REASON_SUBSYS_SHIFT … #define SKB_DR_INIT(name, reason) … #define SKB_DR(name) … #define SKB_DR_SET(name, reason) … #define SKB_DR_OR(name, reason) … #endif