Home
last modified time | relevance | path

Searched refs:TC_ACT_SHOT (Results 1 – 25 of 64) sorted by relevance

123

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_tunnel_kern.c61 return TC_ACT_SHOT; in _gre_set_tunnel()
77 return TC_ACT_SHOT; in _gre_get_tunnel()
102 return TC_ACT_SHOT; in _ip6gretap_set_tunnel()
119 return TC_ACT_SHOT; in _ip6gretap_get_tunnel()
145 return TC_ACT_SHOT; in _erspan_set_tunnel()
165 return TC_ACT_SHOT; in _erspan_set_tunnel()
183 return TC_ACT_SHOT; in _erspan_get_tunnel()
189 return TC_ACT_SHOT; in _erspan_get_tunnel()
229 return TC_ACT_SHOT; in _ip4ip6erspan_set_tunnel()
250 return TC_ACT_SHOT; in _ip4ip6erspan_set_tunnel()
[all …]
H A Dtest_pkt_access.c111 return TC_ACT_SHOT; in test_pkt_access()
117 return TC_ACT_SHOT; in test_pkt_access()
125 return TC_ACT_SHOT; in test_pkt_access()
132 return TC_ACT_SHOT; in test_pkt_access()
134 return TC_ACT_SHOT; in test_pkt_access()
136 return TC_ACT_SHOT; in test_pkt_access()
139 return TC_ACT_SHOT; in test_pkt_access()
141 return TC_ACT_SHOT; in test_pkt_access()
144 return TC_ACT_SHOT; in test_pkt_access()
H A Dtest_l4lb_noinline.c241 return TC_ACT_SHOT; in parse_icmpv6()
247 return TC_ACT_SHOT; in parse_icmpv6()
263 return TC_ACT_SHOT; in parse_icmp()
270 return TC_ACT_SHOT; in parse_icmp()
272 return TC_ACT_SHOT; in parse_icmp()
349 return TC_ACT_SHOT; in process_packet()
357 return TC_ACT_SHOT; in process_packet()
370 return TC_ACT_SHOT; in process_packet()
372 return TC_ACT_SHOT; in process_packet()
380 return TC_ACT_SHOT; in process_packet()
[all …]
H A Dtest_l4lb.c244 return TC_ACT_SHOT; in parse_icmpv6()
250 return TC_ACT_SHOT; in parse_icmpv6()
266 return TC_ACT_SHOT; in parse_icmp()
273 return TC_ACT_SHOT; in parse_icmp()
275 return TC_ACT_SHOT; in parse_icmp()
352 return TC_ACT_SHOT; in process_packet()
360 return TC_ACT_SHOT; in process_packet()
373 return TC_ACT_SHOT; in process_packet()
375 return TC_ACT_SHOT; in process_packet()
383 return TC_ACT_SHOT; in process_packet()
[all …]
H A Dtest_tc_edt.c46 return TC_ACT_SHOT; in throttle_flow()
52 return TC_ACT_SHOT; in throttle_flow()
59 return TC_ACT_SHOT; in throttle_flow()
71 return TC_ACT_SHOT; in handle_tcp()
88 return TC_ACT_SHOT; in handle_ipv4()
91 return TC_ACT_SHOT; in handle_ipv4()
94 return TC_ACT_SHOT; in handle_ipv4()
H A Dtest_cls_redirect.c393 return TC_ACT_SHOT; in accept_locally()
427 return TC_ACT_SHOT; in forward_with_gre()
432 return TC_ACT_SHOT; in forward_with_gre()
441 return TC_ACT_SHOT; in forward_with_gre()
452 return TC_ACT_SHOT; in forward_with_gre()
457 return TC_ACT_SHOT; in forward_with_gre()
469 return TC_ACT_SHOT; in forward_with_gre()
478 return TC_ACT_SHOT; in forward_with_gre()
487 return TC_ACT_SHOT; in forward_with_gre()
492 return TC_ACT_SHOT; in forward_with_gre()
[all …]
H A Dtest_sk_assign.c102 return TC_ACT_SHOT; in handle_udp()
114 return TC_ACT_SHOT; in handle_udp()
134 return TC_ACT_SHOT; in handle_tcp()
149 return TC_ACT_SHOT; in handle_tcp()
153 return TC_ACT_SHOT; in handle_tcp()
173 return TC_ACT_SHOT; in bpf_sk_assign_test()
185 return ret == 0 ? TC_ACT_OK : TC_ACT_SHOT; in bpf_sk_assign_test()
H A Dtest_queue_stack_map.h39 return TC_ACT_SHOT; in _test()
44 return TC_ACT_SHOT; in _test()
48 return TC_ACT_SHOT; in _test()
54 return TC_ACT_SHOT; in _test()
H A Dtest_tc_neigh_fib.c85 return TC_ACT_SHOT; in tc_chk()
87 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
114 return TC_ACT_SHOT; in tc_redir()
131 return TC_ACT_SHOT; in tc_redir()
139 return TC_ACT_SHOT; in tc_redir()
H A Dtest_tc_tunnel.c181 return TC_ACT_SHOT; in encap_ipv4()
188 return TC_ACT_SHOT; in encap_ipv4()
201 return TC_ACT_SHOT; in encap_ipv4()
208 return TC_ACT_SHOT; in encap_ipv4()
211 return TC_ACT_SHOT; in encap_ipv4()
288 return TC_ACT_SHOT; in encap_ipv6()
295 return TC_ACT_SHOT; in encap_ipv6()
307 return TC_ACT_SHOT; in encap_ipv6()
490 return TC_ACT_SHOT; in decap_internal()
H A Dtest_tc_neigh.c96 return TC_ACT_SHOT; in tc_chk()
98 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk()
120 return TC_ACT_SHOT; in tc_dst()
144 return TC_ACT_SHOT; in tc_src()
H A Dfreplace_cls_redirect.c26 return TC_ACT_SHOT; in freplace_cls_redirect_test()
31 return ret == 0 ? TC_ACT_OK : TC_ACT_SHOT; in freplace_cls_redirect_test()
H A Dtest_pkt_md_access.c17 return TC_ACT_SHOT; \
26 return TC_ACT_SHOT; \
H A Dtest_xdp_meta.c23 return TC_ACT_SHOT; in ing_cls()
28 return diff ? TC_ACT_SHOT : TC_ACT_OK; in ing_cls()
H A Dtest_sk_lookup_kern.c68 return TC_ACT_SHOT; in bpf_sk_lookup_test0()
72 return TC_ACT_SHOT; in bpf_sk_lookup_test0()
H A Dtest_tc_peer.c32 return TC_ACT_SHOT; in tc_chk()
/OK3568_Linux_fs/kernel/Documentation/networking/
H A Dtc-actions-env-rules.rst21 TC_ACT_SHOT to the caller and they will drop it.
26 TC_ACT_SHOT/STOLEN/QUEUED. If none of TC_ACT_SHOT/STOLEN/QUEUED is
/OK3568_Linux_fs/kernel/samples/bpf/
H A Dtcbpf1_kern.c83 return TC_ACT_SHOT; in _clone_redirect_xmit()
89 return TC_ACT_SHOT; in _clone_redirect_recv()
H A Dparse_varlen.c29 return TC_ACT_SHOT; in tcp()
46 return TC_ACT_SHOT; in udp()
H A Dtc_l2_redirect_kern.c223 return TC_ACT_SHOT; in _drop_non_tun_vip()
231 return TC_ACT_SHOT; in _drop_non_tun_vip()
H A Dparse_simple.c46 return TC_ACT_SHOT; in handle_ingress()
H A Dparse_ldabs.c40 return TC_ACT_SHOT; in handle_ingress()
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_ife.c729 return TC_ACT_SHOT; in tcf_ife_decode()
742 return TC_ACT_SHOT; in tcf_ife_decode()
757 return TC_ACT_SHOT; in tcf_ife_decode()
820 if ((action == TC_ACT_SHOT) || exceed_mtu) { in tcf_ife_encode()
822 return TC_ACT_SHOT; in tcf_ife_encode()
845 return TC_ACT_SHOT; in tcf_ife_encode()
H A Dact_mirred.c56 case TC_ACT_SHOT: in tcf_mirred_can_reinsert()
232 return TC_ACT_SHOT; in tcf_mirred_act()
314 retval = TC_ACT_SHOT; in tcf_mirred_act()
/OK3568_Linux_fs/kernel/include/net/tc_act/
H A Dtc_gact.h44 return __is_tcf_gact_act(a, TC_ACT_SHOT, false); in is_tcf_gact_shot()

123