| /linux/tools/testing/selftests/net/ |
| H 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/tools/testing/selftests/bpf/progs/ |
| H A D | test_tc_tunnel.c | 111 return TC_ACT_OK; in __encap_ipv4() 127 return TC_ACT_OK; in __encap_ipv4() 134 return TC_ACT_OK; in __encap_ipv4() 138 return TC_ACT_OK; in __encap_ipv4() 141 return TC_ACT_OK; in __encap_ipv4() 185 return TC_ACT_OK; in __encap_ipv4() 241 return TC_ACT_OK; in __encap_ipv4() 264 return TC_ACT_OK; in __encap_ipv6() 269 return TC_ACT_OK; in __encap_ipv6() 272 return TC_ACT_OK; in __encap_ipv6() [all...] |
| H 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 …]
|
| H 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()
|
| 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() 108 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 | cgroup_ancestor.c | 27 return TC_ACT_OK; in log_cgroup_id() 37 return TC_ACT_OK; in log_cgroup_id()
|
| 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 | test_cls_redirect.c | 946 return TC_ACT_OK; in cls_redirect() 955 return TC_ACT_OK; in cls_redirect() 966 return TC_ACT_OK; in cls_redirect() 971 return TC_ACT_OK; in cls_redirect() 976 return TC_ACT_OK; in cls_redirect() 981 return TC_ACT_OK; in cls_redirect()
|
| H 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()
|
| 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_tcp_custom_syncookie.c | 511 int ret = TC_ACT_OK; in tcp_handle_ack() 572 return TC_ACT_OK; in tcp_custom_syncookie() 575 return TC_ACT_OK; in tcp_custom_syncookie() 579 return TC_ACT_OK; in tcp_custom_syncookie()
|
| 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_global_data.c | 103 return TC_ACT_OK; in load_static_data()
|
| H A D | test_pkt_access.c | 148 return TC_ACT_OK; in test_pkt_access()
|
| /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()
|
| /linux/samples/bpf/ |
| H A D | xdp2skb_meta_kern.c | 73 return TC_ACT_OK; in _tc_mark() 79 return TC_ACT_OK; in _tc_mark()
|
| H A D | net_shared.h | 17 #define TC_ACT_OK 0 macro
|
| /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()
|
| /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
|
| /linux/include/uapi/linux/ |
| H A D | pkt_cls.h | 64 #define TC_ACT_OK 0 macro 152 #define TC_POLICE_OK TC_ACT_OK
|
| /linux/net/sched/ |
| H A D | act_bpf.c | 57 if (skb_sk_is_prefetched(skb) && filter_res != TC_ACT_OK) in tcf_bpf_act() 73 case TC_ACT_OK: in tcf_bpf_act()
|