Searched refs:filter_res (Results 1 – 2 of 2) sorted by relevance
41 int action, filter_res; in tcf_bpf_act() local51 filter_res = BPF_PROG_RUN(filter, skb); in tcf_bpf_act()55 filter_res = BPF_PROG_RUN(filter, skb); in tcf_bpf_act()57 if (skb_sk_is_prefetched(skb) && filter_res != TC_ACT_OK) in tcf_bpf_act()71 switch (filter_res) { in tcf_bpf_act()76 action = filter_res; in tcf_bpf_act()79 action = filter_res; in tcf_bpf_act()
91 int filter_res; in cls_bpf_classify() local96 filter_res = prog->exts_integrated ? TC_ACT_UNSPEC : 0; in cls_bpf_classify()101 filter_res = BPF_PROG_RUN(prog->filter, skb); in cls_bpf_classify()105 filter_res = BPF_PROG_RUN(prog->filter, skb); in cls_bpf_classify()113 ret = cls_bpf_exec_opcode(filter_res); in cls_bpf_classify()119 if (filter_res == 0) in cls_bpf_classify()121 if (filter_res != -1) { in cls_bpf_classify()123 res->classid = filter_res; in cls_bpf_classify()