/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | nat6to4.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-6.3-rc2/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-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | test_tc_tunnel.c | 119 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() 367 return TC_ACT_OK; in __encap_ipv6() [all …]
|
A D | test_btf_skc_cls_ingress.c | 81 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 …]
|
A D | test_tunnel_kern.c | 81 return TC_ACT_OK; in gre_set_tunnel() 102 return TC_ACT_OK; in gre_set_tunnel_no_key() 118 return TC_ACT_OK; in gre_get_tunnel() 142 return TC_ACT_OK; in ip6gretap_set_tunnel() 161 return TC_ACT_OK; in ip6gretap_get_tunnel() 204 return TC_ACT_OK; in erspan_set_tunnel() 240 return TC_ACT_OK; in erspan_get_tunnel() 284 return TC_ACT_OK; in ip4ip6erspan_set_tunnel() 321 return TC_ACT_OK; in ip4ip6erspan_get_tunnel() 360 return TC_ACT_OK; in vxlan_set_tunnel_dst() [all …]
|
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_dtime.c | 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()
|
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 | 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 | 119 return TC_ACT_OK; in handle_udp() 153 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_skb_cgroup_id_kern.c | 42 return TC_ACT_OK; in log_cgroup_id()
|
A D | test_cls_redirect.c | 945 return TC_ACT_OK; in cls_redirect() 954 return TC_ACT_OK; in cls_redirect() 965 return TC_ACT_OK; in cls_redirect() 970 return TC_ACT_OK; in cls_redirect() 975 return TC_ACT_OK; in cls_redirect() 980 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_xdp_meta.c | 28 return diff ? TC_ACT_SHOT : TC_ACT_OK; in ing_cls()
|
A D | test_global_data.c | 103 return TC_ACT_OK; in load_static_data()
|
A D | test_pkt_access.c | 143 return TC_ACT_OK; in test_pkt_access()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/tools/include/uapi/linux/ |
A D | pkt_cls.h | 33 #define TC_ACT_OK 0 macro 80 #define TC_POLICE_OK TC_ACT_OK
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | pkt_cls.h | 64 #define TC_ACT_OK 0 macro 152 #define TC_POLICE_OK TC_ACT_OK
|