/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_tunnel_kern.c | 93 return TC_ACT_SHOT; in gre_set_tunnel() 114 return TC_ACT_SHOT; in gre_set_tunnel_no_key() 129 return TC_ACT_SHOT; in gre_get_tunnel() 154 return TC_ACT_SHOT; in ip6gretap_set_tunnel() 170 return TC_ACT_SHOT; in ip6gretap_get_tunnel() 196 return TC_ACT_SHOT; in erspan_set_tunnel() 216 return TC_ACT_SHOT; in erspan_set_tunnel() 232 return TC_ACT_SHOT; in erspan_get_tunnel() 238 return TC_ACT_SHOT; in erspan_get_tunnel() 274 return TC_ACT_SHOT; in ip4ip6erspan_set_tunnel() [all …]
|
H A D | decap_sanity.c | 40 return TC_ACT_SHOT; in decap_sanity() 43 return TC_ACT_SHOT; in decap_sanity() 46 return TC_ACT_SHOT; in decap_sanity() 49 return TC_ACT_SHOT; in decap_sanity() 52 return TC_ACT_SHOT; in decap_sanity() 59 return TC_ACT_SHOT; in decap_sanity() 65 return TC_ACT_SHOT; in decap_sanity()
|
H A D | test_pkt_access.c | 113 return TC_ACT_SHOT; in test_pkt_access() 119 return TC_ACT_SHOT; in test_pkt_access() 127 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() 138 return TC_ACT_SHOT; in test_pkt_access() 141 return TC_ACT_SHOT; in test_pkt_access() 143 return TC_ACT_SHOT; in test_pkt_access() 146 return TC_ACT_SHOT; in test_pkt_access()
|
H A D | test_assign_reuse.c | 74 return TC_ACT_SHOT; in assign_sk() 77 return ret ? TC_ACT_SHOT : TC_ACT_OK; in assign_sk() 84 return TC_ACT_SHOT; in maybe_assign_tcp() 97 return TC_ACT_SHOT; in maybe_assign_udp() 115 return TC_ACT_SHOT; in tc_main() 121 return TC_ACT_SHOT; in tc_main() 128 return TC_ACT_SHOT; in tc_main() 133 return TC_ACT_SHOT; in tc_main() 140 return TC_ACT_SHOT; in tc_main()
|
H A D | test_tc_edt.c | 46 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 D | test_tc_peer.c | 22 return TC_ACT_SHOT; in tc_chk() 49 return TC_ACT_SHOT; in tc_src_l3() 52 return TC_ACT_SHOT; in tc_src_l3() 55 return TC_ACT_SHOT; in tc_src_l3() 58 return TC_ACT_SHOT; in tc_src_l3()
|
H A D | test_l4lb_noinline.c | 241 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() 400 return TC_ACT_SHOT; in process_packet() 423 return TC_ACT_SHOT; in process_packet() 442 return TC_ACT_SHOT; in process_packet() 461 return TC_ACT_SHOT; in balancer_ingress() [all …]
|
H A D | test_l4lb.c | 242 return TC_ACT_SHOT; in parse_icmpv6() 248 return TC_ACT_SHOT; in parse_icmpv6() 264 return TC_ACT_SHOT; in parse_icmp() 271 return TC_ACT_SHOT; in parse_icmp() 273 return TC_ACT_SHOT; in parse_icmp() 350 return TC_ACT_SHOT; in process_packet() 401 return TC_ACT_SHOT; in process_packet() 424 return TC_ACT_SHOT; in process_packet() 443 return TC_ACT_SHOT; in process_packet() 462 return TC_ACT_SHOT; in balancer_ingress() [all …]
|
H A D | test_cls_redirect.c | 394 return TC_ACT_SHOT; in accept_locally() 429 return TC_ACT_SHOT; in forward_with_gre() 434 return TC_ACT_SHOT; in forward_with_gre() 486 return TC_ACT_SHOT; in forward_with_gre() 494 return TC_ACT_SHOT; in forward_with_gre() 499 return TC_ACT_SHOT; in forward_with_gre() 511 return TC_ACT_SHOT; in forward_with_gre() 557 return TC_ACT_SHOT; in forward_to_next_hop() 573 return TC_ACT_SHOT; in skip_next_hops() 587 return TC_ACT_SHOT; in get_next_hop() [all …]
|
H A D | test_l4lb_noinline_dynptr.c | 244 return TC_ACT_SHOT; in parse_icmpv6() 251 return TC_ACT_SHOT; in parse_icmpv6() 269 return TC_ACT_SHOT; in parse_icmp() 276 return TC_ACT_SHOT; in parse_icmp() 356 return TC_ACT_SHOT; in process_packet() 364 return TC_ACT_SHOT; in process_packet() 407 return TC_ACT_SHOT; in process_packet() 430 return TC_ACT_SHOT; in process_packet() 449 return TC_ACT_SHOT; in process_packet() 472 return TC_ACT_SHOT; in balancer_ingress() [all …]
|
H A D | test_cls_redirect_dynptr.c | 286 return TC_ACT_SHOT; in accept_locally() 324 return TC_ACT_SHOT; in forward_with_gre() 329 return TC_ACT_SHOT; in forward_with_gre() 381 return TC_ACT_SHOT; in forward_with_gre() 389 return TC_ACT_SHOT; in forward_with_gre() 394 return TC_ACT_SHOT; in forward_with_gre() 400 return TC_ACT_SHOT; in forward_with_gre() 450 return TC_ACT_SHOT; in forward_to_next_hop() 465 return TC_ACT_SHOT; in skip_next_hops() 479 return TC_ACT_SHOT; in get_next_hop() [all …]
|
H A D | test_queue_stack_map.h | 37 return TC_ACT_SHOT; in _test() 42 return TC_ACT_SHOT; in _test() 46 return TC_ACT_SHOT; in _test() 52 return TC_ACT_SHOT; in _test()
|
H A D | test_sk_assign.c | 112 return TC_ACT_SHOT; in handle_udp() 124 return TC_ACT_SHOT; in handle_udp() 143 return TC_ACT_SHOT; in handle_tcp() 158 return TC_ACT_SHOT; in handle_tcp() 162 return TC_ACT_SHOT; in handle_tcp() 181 return TC_ACT_SHOT; in bpf_sk_assign_test() 193 return ret == 0 ? TC_ACT_OK : TC_ACT_SHOT; in bpf_sk_assign_test()
|
H A D | test_tc_neigh_fib.c | 86 return TC_ACT_SHOT; in tc_chk() 88 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk() 115 return TC_ACT_SHOT; in tc_redir() 132 return TC_ACT_SHOT; in tc_redir() 140 return TC_ACT_SHOT; in tc_redir()
|
H A D | test_tc_neigh.c | 81 return TC_ACT_SHOT; in tc_chk() 83 return !raw[0] && !raw[1] && !raw[2] ? TC_ACT_SHOT : TC_ACT_OK; in tc_chk() 106 return TC_ACT_SHOT; in tc_dst() 131 return TC_ACT_SHOT; in tc_src()
|
H A D | test_tc_tunnel.c | 216 return TC_ACT_SHOT; in __encap_ipv4() 224 return TC_ACT_SHOT; in __encap_ipv4() 237 return TC_ACT_SHOT; in __encap_ipv4() 244 return TC_ACT_SHOT; in __encap_ipv4() 247 return TC_ACT_SHOT; in __encap_ipv4() 353 return TC_ACT_SHOT; in __encap_ipv6() 365 return TC_ACT_SHOT; in __encap_ipv6() 397 return TC_ACT_SHOT; in encap_ipv6_ipip6() 413 return TC_ACT_SHOT; in encap_ipv6_ipip6() 417 return TC_ACT_SHOT; in encap_ipv6_ipip6() [all …]
|
H A D | test_tc_dtime.c | 220 return TC_ACT_SHOT; in egress_host() 251 return TC_ACT_SHOT; in ingress_host() 272 return TC_ACT_SHOT; in ingress_fwdns_prio100() 296 return TC_ACT_SHOT; in egress_fwdns_prio100() 324 return TC_ACT_SHOT; in ingress_fwdns_prio101() 369 return TC_ACT_SHOT; in egress_fwdns_prio101()
|
H A D | freplace_cls_redirect.c | 26 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 D | xfrm_info.c | 24 return bpf_skb_set_xfrm_info(skb, &info) ? TC_ACT_SHOT : TC_ACT_UNSPEC; in set_xfrm_info() 33 return TC_ACT_SHOT; in get_xfrm_info()
|
H A D | test_pkt_md_access.c | 15 return TC_ACT_SHOT; \ 24 return TC_ACT_SHOT; \
|
H A D | test_xdp_meta.c | 23 return TC_ACT_SHOT; in ing_cls() 28 return diff ? TC_ACT_SHOT : TC_ACT_OK; in ing_cls()
|
H A D | fib_lookup.c | 19 return TC_ACT_SHOT; in fib_lookup()
|
/openbmc/linux/Documentation/networking/ |
H A D | tc-actions-env-rules.rst | 21 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
|
/openbmc/linux/samples/bpf/ |
H A D | tcbpf1_kern.c | 83 return TC_ACT_SHOT; in _clone_redirect_xmit() 89 return TC_ACT_SHOT; in _clone_redirect_recv()
|
H A D | parse_varlen.c | 29 return TC_ACT_SHOT; in tcp() 46 return TC_ACT_SHOT; in udp()
|