Searched refs:COUNT_AND_RETURN (Results 1 – 1 of 1) sorted by relevance
75 #define COUNT_AND_RETURN(counter, ret) do { \ in DEFINE_BPF_MAP_GRW() macro82 #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)