/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | verifier_cgroup_skb.c | 32 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 33 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)), 34 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)), 35 __imm_const(__sk_buff_mark, offsetof(struct __sk_buff, mark)), 36 __imm_const(__sk_buff_pkt_type, offsetof(struct __sk_buff, pkt_type)), 37 __imm_const(__sk_buff_protocol, offsetof(struct __sk_buff, protocol)), 38 __imm_const(__sk_buff_queue_mapping, offsetof(struct __sk_buff, queue_mapping)), 39 __imm_const(__sk_buff_vlan_present, offsetof(struct __sk_buff, vlan_present)) 59 : __imm_const(__sk_buff_hash, offsetof(struct __sk_buff, hash)), 60 __imm_const(__sk_buff_ingress_ifindex, offsetof(struct __sk_buff, ingress_ifinde [all...] |
H A D | test_global_func3.c | 9 int f1(struct __sk_buff *skb) 15 int f2(int val, struct __sk_buff *skb) 21 int f3(int val, struct __sk_buff *skb, int var) 27 int f4(struct __sk_buff *skb) 33 int f5(struct __sk_buff *skb) 39 int f6(struct __sk_buff *skb) 45 int f7(struct __sk_buff *skb) 51 int f8(struct __sk_buff *skb) 58 int global_func3(struct __sk_buff *skb)
|
H A D | freplace_global_func.c | 6 int test_ctx_global_func(struct __sk_buff *skb) 13 int new_test_pkt_access(struct __sk_buff *skb)
|
H A D | test_global_func4.c | 9 int f1(struct __sk_buff *skb) 15 int f2(int val, struct __sk_buff *skb) 21 int f3(int val, struct __sk_buff *skb, int var) 27 int f4(struct __sk_buff *skb) 33 int f5(struct __sk_buff *skb) 39 int f6(struct __sk_buff *skb) 45 int f7(struct __sk_buff *skb) 52 int global_func4(struct __sk_buff *skb)
|
H A D | test_global_func8.c | 8 __noinline int foo(struct __sk_buff *skb) 15 int global_func8(struct __sk_buff *skb)
|
H A D | verifier_direct_packet_access.c | 19 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 20 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 39 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 40 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 73 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 74 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)), 75 __imm_const(__sk_buff_len, offsetof(struct __sk_buff, len)) 90 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)) 109 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 110 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_en [all...] |
H A D | test_global_func6.c | 9 int f1(struct __sk_buff *skb) 14 int f3(int, struct __sk_buff *skb); 17 int f2(int val, struct __sk_buff *skb) 23 int f3(int val, struct __sk_buff *skb) 30 int global_func6(struct __sk_buff *skb)
|
H A D | test_global_func5.c | 9 int f1(struct __sk_buff *skb) 14 int f3(int, struct __sk_buff *skb); 17 int f2(int val, struct __sk_buff *skb) 23 int f3(int val, struct __sk_buff *skb) 30 int global_func5(struct __sk_buff *skb)
|
H A D | verifier_lwt.c | 23 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 24 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 43 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 44 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 63 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 64 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 83 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 84 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 103 : __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 104 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_en [all...] |
H A D | tailcall2.c | 14 int classifier_0(struct __sk_buff *skb) 21 int classifier_1(struct __sk_buff *skb) 28 int classifier_2(struct __sk_buff *skb) 34 int classifier_3(struct __sk_buff *skb) 41 int classifier_4(struct __sk_buff *skb) 48 int entry(struct __sk_buff *skb)
|
H A D | test_global_func2.c | 11 int f0(int var, struct __sk_buff *skb) 17 int f1(struct __sk_buff *skb) 26 int f3(int, struct __sk_buff *skb, int); 29 int f2(int val, struct __sk_buff *skb) 35 int f3(int val, struct __sk_buff *skb, int var) 46 int global_func2(struct __sk_buff *skb)
|
H A D | test_tc_link.c | 22 int tc1(struct __sk_buff *skb) 37 int tc2(struct __sk_buff *skb) 44 int tc3(struct __sk_buff *skb) 51 int tc4(struct __sk_buff *skb) 58 int tc5(struct __sk_buff *skb) 65 int tc6(struct __sk_buff *skb)
|
H A D | test_global_func1.c | 11 int f0(int var, struct __sk_buff *skb) 19 int f1(struct __sk_buff *skb) 28 int f3(int, struct __sk_buff *skb, int); 31 int f2(int val, struct __sk_buff *skb) 41 int f3(int val, struct __sk_buff *skb, int var) 52 int global_func1(struct __sk_buff *skb)
|
H A D | xfrm_info.c | 14 int bpf_skb_set_xfrm_info(struct __sk_buff *skb_ctx, 16 int bpf_skb_get_xfrm_info(struct __sk_buff *skb_ctx, 20 int set_xfrm_info(struct __sk_buff *skb) 28 int get_xfrm_info(struct __sk_buff *skb)
|
H A D | empty_skb.c | 12 int redirect_ingress(struct __sk_buff *skb) 19 int redirect_egress(struct __sk_buff *skb) 26 int tc_redirect_ingress(struct __sk_buff *skb) 33 int tc_redirect_egress(struct __sk_buff *skb)
|
H A D | kfunc_call_race.c | 7 int kfunc_call_fail(struct __sk_buff *ctx)
|
H A D | test_cgroup_link.c | 10 int egress(struct __sk_buff *skb) 17 int egress_alt(struct __sk_buff *skb)
|
H A D | test_global_func7.c | 9 void foo(struct __sk_buff *skb) 16 int global_func7(struct __sk_buff *skb)
|
H A D | test_tc_bpf.c | 11 int cls(struct __sk_buff *skb) 18 int pkt_ptr(struct __sk_buff *skb)
|
H A D | verifier_helper_packet_access.c | 157 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 158 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 176 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)) 205 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 206 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 230 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 231 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 254 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, data)), 255 __imm_const(__sk_buff_data_end, offsetof(struct __sk_buff, data_end)) 279 __imm_const(__sk_buff_data, offsetof(struct __sk_buff, dat [all...] |
H A D | tailcall_bpf2bpf4.c | 31 int subprog_tail_2(struct __sk_buff *skb) 40 int subprog_tail_1(struct __sk_buff *skb) 47 int subprog_tail(struct __sk_buff *skb) 54 int classifier_1(struct __sk_buff *skb) 60 int classifier_2(struct __sk_buff *skb) 67 int classifier_0(struct __sk_buff *skb) 73 int entry(struct __sk_buff *skb)
|
H A D | tailcall_bpf2bpf2.c | 14 int subprog_tail(struct __sk_buff *skb) 26 int classifier_0(struct __sk_buff *skb) 33 int entry(struct __sk_buff *skb)
|
H A D | tailcall_bpf2bpf1.c | 14 int classifier_##x(struct __sk_buff *skb) \ 22 int subprog_tail(struct __sk_buff *skb) 30 int entry(struct __sk_buff *skb)
|
/linux-master/tools/testing/selftests/bpf/verifier/ |
H A D | ctx_skb.c | 5 offsetof(struct __sk_buff, len)), 8 offsetof(struct __sk_buff, mark)), 11 offsetof(struct __sk_buff, pkt_type)), 14 offsetof(struct __sk_buff, queue_mapping)), 17 offsetof(struct __sk_buff, protocol)), 20 offsetof(struct __sk_buff, vlan_present)), 23 offsetof(struct __sk_buff, vlan_tci)), 26 offsetof(struct __sk_buff, napi_id)), 54 offsetof(struct __sk_buff, pkt_type)), 67 offsetof(struct __sk_buff, pkt_typ [all...] |
/linux-master/tools/testing/selftests/tc-testing/ |
H A D | action.c | 12 __attribute__((section("action-ok"),used)) int action_ok(struct __sk_buff *s) 17 __attribute__((section("action-ko"),used)) int action_ko(struct __sk_buff *s)
|