Home
last modified time | relevance | path

Searched refs:COUNT_AND_RETURN (Results 1 – 1 of 1) sorted by relevance

/packages/modules/Connectivity/Tethering/bpf_progs/
Doffload.c75 #define COUNT_AND_RETURN(counter, ret) do { \ in DEFINE_BPF_MAP_GRW() macro
82 #define TC_DROP(counter) COUNT_AND_RETURN(counter, TC_ACT_SHOT)
83 #define TC_PUNT(counter) COUNT_AND_RETURN(counter, TC_ACT_OK)
85 #define XDP_DROP(counter) COUNT_AND_RETURN(counter, XDP_DROP)
86 #define XDP_PUNT(counter) COUNT_AND_RETURN(counter, XDP_PASS)