/openbmc/linux/tools/testing/selftests/net/ |
H 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 …]
|
/openbmc/linux/samples/bpf/ |
H 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() 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 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()
|
H A D | xdp2skb_meta_kern.c | 74 return TC_ACT_OK; in _tc_mark() 80 return TC_ACT_OK; in _tc_mark()
|
H A D | net_shared.h | 17 #define TC_ACT_OK 0 macro
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H 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() 281 return TC_ACT_OK; in __encap_ipv6() [all …]
|
H 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 …]
|
H A D | test_tunnel_kern.c | 96 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 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()
|
H 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()
|
H 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()
|
H 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()
|
H 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()
|
H 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()
|
H A D | freplace_cls_redirect.c | 31 return ret == 0 ? TC_ACT_OK : TC_ACT_SHOT; in freplace_cls_redirect_test()
|
H A D | test_cls_redirect_dynptr.c | 856 return TC_ACT_OK; in cls_redirect() 864 return TC_ACT_OK; in cls_redirect() 868 return TC_ACT_OK; in cls_redirect() 874 return TC_ACT_OK; in cls_redirect() 878 return TC_ACT_OK; in cls_redirect() 882 return TC_ACT_OK; in cls_redirect()
|
H 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()
|
H A D | test_skb_cgroup_id_kern.c | 42 return TC_ACT_OK; in log_cgroup_id()
|
H A D | test_pkt_md_access.c | 40 return TC_ACT_OK; in test_pkt_md_access()
|
H A D | test_queue_stack_map.h | 54 return TC_ACT_OK; in _test()
|
H A D | test_xdp_meta.c | 28 return diff ? TC_ACT_SHOT : TC_ACT_OK; in ing_cls()
|
H A D | test_global_data.c | 103 return TC_ACT_OK; in load_static_data()
|
/openbmc/linux/tools/testing/selftests/tc-testing/ |
H A D | action.c | 14 return TC_ACT_OK; in action_ok() 20 return TC_ACT_OK; in action_ko()
|
/openbmc/linux/include/net/tc_act/ |
H A D | tc_gact.h | 39 return __is_tcf_gact_act(a, TC_ACT_OK, false); in is_tcf_gact_ok()
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | pkt_cls.h | 33 #define TC_ACT_OK 0 macro 80 #define TC_POLICE_OK TC_ACT_OK
|