Searched refs:filter_res (Results 1 – 3 of 3) sorted by relevance
42 int action, filter_res; in tcf_bpf_act() local 50 filter_res = bpf_prog_run_data_pointers(filter, skb); in tcf_bpf_act() 53 filter_res = bpf_prog_run_data_pointers(filter, skb); in tcf_bpf_act() 57 if (skb_sk_is_prefetched(skb) && filter_res != TC_ACT_OK) in tcf_bpf_act() 61 * Similarly as in cls_bpf, if filter_res == -1 we use the in tcf_bpf_act() 70 switch (filter_res) { in tcf_bpf_act() 75 action = filter_res; in tcf_bpf_act() 78 action = filter_res; in tcf_bpf_act()
91 int filter_res; in cls_bpf_classify() local 96 filter_res = prog->exts_integrated ? TC_ACT_UNSPEC : 0; in cls_bpf_classify() 100 filter_res = bpf_prog_run_data_pointers(prog->filter, skb); in cls_bpf_classify() 103 filter_res = bpf_prog_run_data_pointers(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()
326 bool filter_res; in edgewall() local353 filter_res = filter_transport_hdr(transport_hdr, data_end, in edgewall()355 if (!filter_res) in edgewall()