Home
last modified time | relevance | path

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

/linux-6.12.1/net/sched/
Dact_bpf.c42 int action, filter_res; in tcf_bpf_act() local
51 filter_res = bpf_prog_run(filter, skb); in tcf_bpf_act()
55 filter_res = bpf_prog_run(filter, skb); in tcf_bpf_act()
59 if (skb_sk_is_prefetched(skb) && filter_res != TC_ACT_OK) in tcf_bpf_act()
72 switch (filter_res) { in tcf_bpf_act()
77 action = filter_res; in tcf_bpf_act()
80 action = filter_res; in tcf_bpf_act()
Dcls_bpf.c91 int filter_res; in cls_bpf_classify() local
96 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()
115 ret = cls_bpf_exec_opcode(filter_res); in cls_bpf_classify()
121 if (filter_res == 0) in cls_bpf_classify()
123 if (filter_res != -1) { in cls_bpf_classify()
125 res->classid = filter_res; in cls_bpf_classify()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dxdpwall.c326 bool filter_res; in edgewall() local
353 filter_res = filter_transport_hdr(transport_hdr, data_end, in edgewall()
355 if (!filter_res) in edgewall()