Home
last modified time | relevance | path

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

/Linux-v6.1/net/sched/
Dact_bpf.c40 int action, filter_res; in tcf_bpf_act() local
49 filter_res = bpf_prog_run(filter, skb); in tcf_bpf_act()
53 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()
70 switch (filter_res) { in tcf_bpf_act()
75 action = filter_res; in tcf_bpf_act()
78 action = filter_res; in tcf_bpf_act()
Dcls_bpf.c89 int filter_res; in cls_bpf_classify() local
94 filter_res = prog->exts_integrated ? TC_ACT_UNSPEC : 0; in cls_bpf_classify()
99 filter_res = bpf_prog_run(prog->filter, skb); in cls_bpf_classify()
103 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()
/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dxdpwall.c327 bool filter_res; in edgewall() local
354 filter_res = filter_transport_hdr(transport_hdr, data_end, in edgewall()
356 if (!filter_res) in edgewall()