| /linux/tools/testing/selftests/net/ |
| A D | nat6to4.bpf.c | 59 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 …]
|
| /linux/samples/bpf/ |
| A D | tc_l2_redirect_kern.c | 70 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() 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() 140 return TC_ACT_OK; in _l2_to_iptun_ingress_redirect() 160 return TC_ACT_OK; in _l2_to_ip6tun_ingress_redirect() [all …]
|
| A D | test_cgrp2_tc.bpf.c | 40 return TC_ACT_OK; in handle_egress() 46 return TC_ACT_OK; in handle_egress() 49 return TC_ACT_OK; in handle_egress()
|
| A D | xdp2skb_meta_kern.c | 74 return TC_ACT_OK; in _tc_mark() 80 return TC_ACT_OK; in _tc_mark()
|
| A D | net_shared.h | 17 #define TC_ACT_OK 0 macro
|
| /linux/tools/testing/selftests/bpf/progs/ |
| A D | test_tc_tunnel.c | 122 return TC_ACT_OK; in __encap_ipv4() 139 return TC_ACT_OK; in __encap_ipv4() 146 return TC_ACT_OK; in __encap_ipv4() 150 return TC_ACT_OK; in __encap_ipv4() 153 return TC_ACT_OK; in __encap_ipv4() 197 return TC_ACT_OK; in __encap_ipv4() 253 return TC_ACT_OK; in __encap_ipv4() 276 return TC_ACT_OK; in __encap_ipv6() 281 return TC_ACT_OK; in __encap_ipv6() 370 return TC_ACT_OK; in __encap_ipv6() [all …]
|
| A D | test_btf_skc_cls_ingress.c | 75 return TC_ACT_OK; in handle_ip6_tcp() 79 return TC_ACT_OK; in handle_ip6_tcp() 85 return TC_ACT_OK; in handle_ip6_tcp() 92 return TC_ACT_OK; in handle_ip6_tcp() 112 return TC_ACT_OK; in handle_ip6_tcp() 131 return TC_ACT_OK; in handle_ip6_tcp() 139 return TC_ACT_OK; in handle_ip6_tcp() 153 return TC_ACT_OK; in cls_ingress() 156 return TC_ACT_OK; in cls_ingress() 160 return TC_ACT_OK; in cls_ingress() [all …]
|
| A D | test_tunnel_kern.c | 76 return TC_ACT_OK; in gre_set_tunnel() 97 return TC_ACT_OK; in gre_set_tunnel_no_key() 113 return TC_ACT_OK; in gre_get_tunnel() 137 return TC_ACT_OK; in ip6gretap_set_tunnel() 156 return TC_ACT_OK; in ip6gretap_get_tunnel() 199 return TC_ACT_OK; in erspan_set_tunnel() 235 return TC_ACT_OK; in erspan_get_tunnel() 279 return TC_ACT_OK; in ip4ip6erspan_set_tunnel() 316 return TC_ACT_OK; in ip4ip6erspan_get_tunnel() 355 return TC_ACT_OK; in vxlan_set_tunnel_dst() [all …]
|
| A D | test_tc_dtime.c | 222 return TC_ACT_OK; in egress_host() 244 return TC_ACT_OK; in egress_host() 257 return TC_ACT_OK; in ingress_host() 265 return TC_ACT_OK; in ingress_host() 278 return TC_ACT_OK; in ingress_fwdns_prio100() 302 return TC_ACT_OK; in egress_fwdns_prio100() 352 bpf_redirect_neigh(IFINDEX_DST, NULL, 0, 0) : TC_ACT_OK; in ingress_fwdns_prio101() 355 bpf_redirect_neigh(IFINDEX_SRC, NULL, 0, 0) : TC_ACT_OK; in ingress_fwdns_prio101() 389 return TC_ACT_OK; in egress_fwdns_prio101()
|
| A D | test_tc_edt.c | 47 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()
|
| A D | test_tc_neigh.c | 83 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()
|
| A D | cgroup_ancestor.c | 27 return TC_ACT_OK; in log_cgroup_id() 37 return TC_ACT_OK; in log_cgroup_id()
|
| A D | test_assign_reuse.c | 77 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()
|
| A D | test_tc_neigh_fib.c | 88 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()
|
| A D | test_sk_assign.c | 120 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()
|
| A D | freplace_cls_redirect.c | 31 return ret == 0 ? TC_ACT_OK : TC_ACT_SHOT; in freplace_cls_redirect_test()
|
| A D | test_cls_redirect.c | 948 return TC_ACT_OK; in cls_redirect() 957 return TC_ACT_OK; in cls_redirect() 968 return TC_ACT_OK; in cls_redirect() 973 return TC_ACT_OK; in cls_redirect() 978 return TC_ACT_OK; in cls_redirect() 983 return TC_ACT_OK; in cls_redirect()
|
| A D | test_cls_redirect_dynptr.c | 858 return TC_ACT_OK; in cls_redirect() 866 return TC_ACT_OK; in cls_redirect() 870 return TC_ACT_OK; in cls_redirect() 876 return TC_ACT_OK; in cls_redirect() 880 return TC_ACT_OK; in cls_redirect() 884 return TC_ACT_OK; in cls_redirect()
|
| A D | test_pkt_md_access.c | 40 return TC_ACT_OK; in test_pkt_md_access()
|
| A D | test_queue_stack_map.h | 54 return TC_ACT_OK; in _test()
|
| A D | test_tcp_custom_syncookie.c | 509 int ret = TC_ACT_OK; in tcp_handle_ack() 570 return TC_ACT_OK; in tcp_custom_syncookie() 573 return TC_ACT_OK; in tcp_custom_syncookie() 577 return TC_ACT_OK; in tcp_custom_syncookie()
|
| A D | test_xdp_meta.c | 28 return diff ? TC_ACT_SHOT : TC_ACT_OK; in ing_cls()
|
| /linux/tools/testing/selftests/tc-testing/ |
| A D | action.c | 14 return TC_ACT_OK; in action_ok() 20 return TC_ACT_OK; in action_ko()
|
| /linux/include/net/tc_act/ |
| A D | tc_gact.h | 39 return __is_tcf_gact_act(a, TC_ACT_OK, false); in is_tcf_gact_ok()
|
| /linux/tools/include/uapi/linux/ |
| A D | pkt_cls.h | 33 #define TC_ACT_OK 0 macro 80 #define TC_POLICE_OK TC_ACT_OK
|