Home
last modified time | relevance | path

Searched refs:TC_ACT_OK (Results 1 - 25 of 80) sorted by relevance

1234

/kernel/linux/linux-5.10/samples/bpf/
H A Dtc_l2_redirect_kern.c70 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
74 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
81 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
84 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
94 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
98 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
106 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
121 return TC_ACT_OK; in _l2_to_iptun_ingress_redirect()
125 return TC_ACT_OK; in _l2_to_iptun_ingress_redirect()
133 return TC_ACT_OK; in _l2_to_iptun_ingress_redirect()
[all...]
H A Dtest_cgrp2_tc_kern.c54 return TC_ACT_OK; in handle_egress()
60 return TC_ACT_OK; in handle_egress()
63 return TC_ACT_OK; in handle_egress()
H A Dxdp2skb_meta_kern.c74 return TC_ACT_OK; in _tc_mark()
80 return TC_ACT_OK; in _tc_mark()
/kernel/linux/linux-6.6/samples/bpf/
H A Dtc_l2_redirect_kern.c70 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
74 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
81 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
84 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
94 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
98 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
106 return TC_ACT_OK; in _l2_to_iptun_ingress_forward()
121 return TC_ACT_OK; in _l2_to_iptun_ingress_redirect()
125 return TC_ACT_OK; in _l2_to_iptun_ingress_redirect()
133 return TC_ACT_OK; in _l2_to_iptun_ingress_redirect()
[all...]
H A Dtest_cgrp2_tc.bpf.c40 return TC_ACT_OK; in handle_egress()
46 return TC_ACT_OK; in handle_egress()
49 return TC_ACT_OK; in handle_egress()
H A Dxdp2skb_meta_kern.c74 return TC_ACT_OK; in _tc_mark()
80 return TC_ACT_OK; in _tc_mark()
/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dnat6to4.c59 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
63 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
67 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
71 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
75 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
78 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
86 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
131 return TC_ACT_OK; in sched_cls_ingress6_nat_6_prog()
160 return TC_ACT_OK; in sched_cls_egress4_snat4_prog()
164 return TC_ACT_OK; in sched_cls_egress4_snat4_prog()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c119 return TC_ACT_OK; in __encap_ipv4()
136 return TC_ACT_OK; in __encap_ipv4()
143 return TC_ACT_OK; in __encap_ipv4()
147 return TC_ACT_OK; in __encap_ipv4()
150 return TC_ACT_OK; in __encap_ipv4()
194 return TC_ACT_OK; in __encap_ipv4()
250 return TC_ACT_OK; in __encap_ipv4()
273 return TC_ACT_OK; in __encap_ipv6()
278 return TC_ACT_OK; in __encap_ipv6()
281 return TC_ACT_OK; in __encap_ipv6()
[all...]
H A Dtest_btf_skc_cls_ingress.c81 return TC_ACT_OK; in handle_ip6_tcp()
85 return TC_ACT_OK; in handle_ip6_tcp()
91 return TC_ACT_OK; in handle_ip6_tcp()
98 return TC_ACT_OK; in handle_ip6_tcp()
118 return TC_ACT_OK; in handle_ip6_tcp()
137 return TC_ACT_OK; in handle_ip6_tcp()
145 return TC_ACT_OK; in handle_ip6_tcp()
159 return TC_ACT_OK; in cls_ingress()
162 return TC_ACT_OK; in cls_ingress()
166 return TC_ACT_OK; in cls_ingress()
[all...]
H A Dtest_tunnel_kern.c96 return TC_ACT_OK; in gre_set_tunnel()
117 return TC_ACT_OK; in gre_set_tunnel_no_key()
133 return TC_ACT_OK; in gre_get_tunnel()
157 return TC_ACT_OK; in ip6gretap_set_tunnel()
176 return TC_ACT_OK; in ip6gretap_get_tunnel()
219 return TC_ACT_OK; in erspan_set_tunnel()
254 return TC_ACT_OK; in erspan_get_tunnel()
298 return TC_ACT_OK; in ip4ip6erspan_set_tunnel()
334 return TC_ACT_OK; in ip4ip6erspan_get_tunnel()
373 return TC_ACT_OK; in vxlan_set_tunnel_dst()
[all...]
H A Dtest_tc_dtime.c133 * 0: not testing traffic: TC_ACT_OK
222 return TC_ACT_OK; in egress_host()
240 return TC_ACT_OK; in egress_host()
253 return TC_ACT_OK; in ingress_host()
261 return TC_ACT_OK; in ingress_host()
274 return TC_ACT_OK; in ingress_fwdns_prio100()
298 return TC_ACT_OK; in egress_fwdns_prio100()
354 bpf_redirect_neigh(IFINDEX_DST, NULL, 0, 0) : TC_ACT_OK; in ingress_fwdns_prio101()
357 bpf_redirect_neigh(IFINDEX_SRC, NULL, 0, 0) : TC_ACT_OK; in ingress_fwdns_prio101()
394 return TC_ACT_OK; in egress_fwdns_prio101()
[all...]
H A Dtest_tc_edt.c47 return TC_ACT_OK; in throttle_flow()
62 return TC_ACT_OK; in throttle_flow()
76 return TC_ACT_OK; in handle_tcp()
99 return TC_ACT_OK; in handle_ipv4()
107 return TC_ACT_OK; in tc_prog()
H A Dtest_tc_neigh.c83 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
102 return TC_ACT_OK; in tc_dst()
127 return TC_ACT_OK; in tc_src()
H A Dtest_assign_reuse.c77 return ret ? TC_ACT_SHOT : TC_ACT_OK; in assign_sk()
87 return TC_ACT_OK; in maybe_assign_tcp()
100 return TC_ACT_OK; in maybe_assign_udp()
H A Dtest_sk_assign.c120 return TC_ACT_OK; in handle_udp()
154 return TC_ACT_OK; in handle_tcp()
193 return ret == 0 ? TC_ACT_OK : TC_ACT_SHOT; in bpf_sk_assign_test()
H A Dtest_tc_neigh_fib.c88 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
107 return TC_ACT_OK; in tc_redir()
111 return TC_ACT_OK; in tc_redir()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_tc_tunnel.c99 return TC_ACT_OK; in encap_ipv4()
116 return TC_ACT_OK; in encap_ipv4()
123 return TC_ACT_OK; in encap_ipv4()
127 return TC_ACT_OK; in encap_ipv4()
130 return TC_ACT_OK; in encap_ipv4()
170 return TC_ACT_OK; in encap_ipv4()
214 return TC_ACT_OK; in encap_ipv4()
230 return TC_ACT_OK; in encap_ipv6()
235 return TC_ACT_OK; in encap_ipv6()
238 return TC_ACT_OK; in encap_ipv6()
[all...]
H A Dtest_btf_skc_cls_ingress.c81 return TC_ACT_OK; in handle_ip6_tcp()
85 return TC_ACT_OK; in handle_ip6_tcp()
91 return TC_ACT_OK; in handle_ip6_tcp()
98 return TC_ACT_OK; in handle_ip6_tcp()
118 return TC_ACT_OK; in handle_ip6_tcp()
137 return TC_ACT_OK; in handle_ip6_tcp()
145 return TC_ACT_OK; in handle_ip6_tcp()
159 return TC_ACT_OK; in cls_ingress()
162 return TC_ACT_OK; in cls_ingress()
166 return TC_ACT_OK; in cls_ingress()
[all...]
H A Dtest_tunnel_kern.c64 return TC_ACT_OK; in _gre_set_tunnel()
81 return TC_ACT_OK; in _gre_get_tunnel()
105 return TC_ACT_OK; in _ip6gretap_set_tunnel()
125 return TC_ACT_OK; in _ip6gretap_get_tunnel()
168 return TC_ACT_OK; in _erspan_set_tunnel()
209 return TC_ACT_OK; in _erspan_get_tunnel()
253 return TC_ACT_OK; in _ip4ip6erspan_set_tunnel()
295 return TC_ACT_OK; in _ip4ip6erspan_get_tunnel()
325 return TC_ACT_OK; in _vxlan_set_tunnel()
351 return TC_ACT_OK; in _vxlan_get_tunnel()
[all...]
H A Dtest_tc_edt.c47 return TC_ACT_OK; in throttle_flow()
62 return TC_ACT_OK; in throttle_flow()
76 return TC_ACT_OK; in handle_tcp()
99 return TC_ACT_OK; in handle_ipv4()
107 return TC_ACT_OK; in tc_prog()
H A Dtest_sk_assign.c121 return TC_ACT_OK; in handle_udp()
156 return TC_ACT_OK; in handle_tcp()
196 return ret == 0 ? TC_ACT_OK : TC_ACT_SHOT; in bpf_sk_assign_test()
H A Dtest_tc_neigh_fib.c87 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
106 return TC_ACT_OK; in tc_redir()
110 return TC_ACT_OK; in tc_redir()
H A Dtest_tc_neigh.c98 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
116 return TC_ACT_OK; in tc_dst()
140 return TC_ACT_OK; in tc_src()
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
H A Daction.c14 return TC_ACT_OK; in action_ok()
20 return TC_ACT_OK; in action_ko()
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/
H A Daction.c14 return TC_ACT_OK; in action_ok()
20 return TC_ACT_OK; in action_ko()

Completed in 9 milliseconds

1234