Home
last modified time | relevance | path

Searched refs:__sk_buff (Results 1 – 25 of 92) sorted by relevance

1234

/tools/testing/selftests/bpf/verifier/
Dcgroup_skb.c5 offsetof(struct __sk_buff, data)),
7 offsetof(struct __sk_buff, data_end)),
9 offsetof(struct __sk_buff, len)),
11 offsetof(struct __sk_buff, pkt_type)),
13 offsetof(struct __sk_buff, mark)),
15 offsetof(struct __sk_buff, mark)),
17 offsetof(struct __sk_buff, queue_mapping)),
19 offsetof(struct __sk_buff, protocol)),
21 offsetof(struct __sk_buff, vlan_present)),
38 offsetof(struct __sk_buff, vlan_tci)),
[all …]
Dctx_skb.c5 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_type)),
[all …]
Dlwt.c5 offsetof(struct __sk_buff, data)),
7 offsetof(struct __sk_buff, data_end)),
23 offsetof(struct __sk_buff, data)),
25 offsetof(struct __sk_buff, data_end)),
41 offsetof(struct __sk_buff, data)),
43 offsetof(struct __sk_buff, data_end)),
58 offsetof(struct __sk_buff, data)),
60 offsetof(struct __sk_buff, data_end)),
75 offsetof(struct __sk_buff, data)),
77 offsetof(struct __sk_buff, data_end)),
[all …]
Ddirect_packet_access.c5 offsetof(struct __sk_buff, data_end)),
7 offsetof(struct __sk_buff, data)),
19 offsetof(struct __sk_buff, data)),
21 offsetof(struct __sk_buff, data_end)),
37 offsetof(struct __sk_buff, data_end)),
39 offsetof(struct __sk_buff, data)),
47 offsetof(struct __sk_buff, data)),
50 offsetof(struct __sk_buff, len)),
57 offsetof(struct __sk_buff, data_end)),
70 offsetof(struct __sk_buff, data)),
[all …]
Dhelper_packet_access.c106 offsetof(struct __sk_buff, data)),
108 offsetof(struct __sk_buff, data_end)),
127 offsetof(struct __sk_buff, data)),
142 offsetof(struct __sk_buff, data)),
144 offsetof(struct __sk_buff, data_end)),
168 offsetof(struct __sk_buff, data)),
170 offsetof(struct __sk_buff, data_end)),
190 offsetof(struct __sk_buff, data)),
192 offsetof(struct __sk_buff, data_end)),
211 offsetof(struct __sk_buff, data)),
[all …]
Druntime_jit.c58 offsetof(struct __sk_buff, cb[0])),
60 offsetof(struct __sk_buff, cb[0])),
80 offsetof(struct __sk_buff, cb[0])),
82 offsetof(struct __sk_buff, cb[0])),
102 offsetof(struct __sk_buff, cb[0])),
104 offsetof(struct __sk_buff, cb[0])),
124 offsetof(struct __sk_buff, cb[0])),
126 offsetof(struct __sk_buff, cb[0])),
146 offsetof(struct __sk_buff, cb[0])),
148 offsetof(struct __sk_buff, cb[0])),
[all …]
Dleak_ptr.c6 offsetof(struct __sk_buff, cb[0])),
9 offsetof(struct __sk_buff, cb[0])),
23 offsetof(struct __sk_buff, cb[0])),
25 offsetof(struct __sk_buff, cb[0])),
39 offsetof(struct __sk_buff, cb[0])),
Dsock.c4 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
16 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
30 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
45 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
57 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
73 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
91 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
108 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
126 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
144 BPF_LDX_MEM(BPF_DW, BPF_REG_1, BPF_REG_1, offsetof(struct __sk_buff, sk)),
[all …]
/tools/testing/selftests/bpf/progs/
Dtest_global_func3.c8 int f1(struct __sk_buff *skb) in f1()
14 int f2(int val, struct __sk_buff *skb) in f2()
20 int f3(int val, struct __sk_buff *skb, int var) in f3()
26 int f4(struct __sk_buff *skb) in f4()
32 int f5(struct __sk_buff *skb) in f5()
38 int f6(struct __sk_buff *skb) in f6()
44 int f7(struct __sk_buff *skb) in f7()
51 int f8(struct __sk_buff *skb) in f8()
58 int test_cls(struct __sk_buff *skb) in test_cls()
Dtailcall_bpf2bpf4.c15 int subprog_tail_2(struct __sk_buff *skb) in subprog_tail_2()
22 int subprog_tail_1(struct __sk_buff *skb) in subprog_tail_1()
29 int subprog_tail(struct __sk_buff *skb) in subprog_tail()
36 int bpf_func_1(struct __sk_buff *skb) in bpf_func_1()
42 int bpf_func_2(struct __sk_buff *skb) in bpf_func_2()
49 int bpf_func_0(struct __sk_buff *skb) in bpf_func_0()
55 int entry(struct __sk_buff *skb) in entry()
Dtailcall2.c14 int bpf_func_0(struct __sk_buff *skb) in bpf_func_0()
21 int bpf_func_1(struct __sk_buff *skb) in bpf_func_1()
28 int bpf_func_2(struct __sk_buff *skb) in bpf_func_2()
34 int bpf_func_3(struct __sk_buff *skb) in bpf_func_3()
41 int bpf_func_4(struct __sk_buff *skb) in bpf_func_4()
48 int entry(struct __sk_buff *skb) in entry()
Dtest_global_func1.c12 int f0(int var, struct __sk_buff *skb) in f0()
18 int f1(struct __sk_buff *skb) in f1()
25 int f3(int, struct __sk_buff *skb, int);
28 int f2(int val, struct __sk_buff *skb) in f2()
34 int f3(int val, struct __sk_buff *skb, int var) in f3()
42 int test_cls(struct __sk_buff *skb) in test_cls()
Dtest_global_func5.c8 int f1(struct __sk_buff *skb) in f1()
13 int f3(int, struct __sk_buff *skb);
16 int f2(int val, struct __sk_buff *skb) in f2()
22 int f3(int val, struct __sk_buff *skb) in f3()
28 int test_cls(struct __sk_buff *skb) in test_cls()
Dtest_global_func6.c8 int f1(struct __sk_buff *skb) in f1()
13 int f3(int, struct __sk_buff *skb);
16 int f2(int val, struct __sk_buff *skb) in f2()
22 int f3(int val, struct __sk_buff *skb) in f3()
28 int test_cls(struct __sk_buff *skb) in test_cls()
Dtailcall_bpf2bpf3.c14 int subprog_tail2(struct __sk_buff *skb) in subprog_tail2()
27 int subprog_tail(struct __sk_buff *skb) in subprog_tail()
37 int bpf_func_0(struct __sk_buff *skb) in bpf_func_0()
45 int bpf_func_1(struct __sk_buff *skb) in bpf_func_1()
53 int entry(struct __sk_buff *skb) in entry()
Dtest_pkt_access.c39 int test_pkt_access_subprog1(volatile struct __sk_buff *skb) in test_pkt_access_subprog1()
45 int test_pkt_access_subprog2(int val, volatile struct __sk_buff *skb) in test_pkt_access_subprog2()
53 int get_skb_len(struct __sk_buff *skb) in get_skb_len()
66 int get_skb_ifindex(int, struct __sk_buff *skb, int);
69 int test_pkt_access_subprog3(int val, struct __sk_buff *skb) in test_pkt_access_subprog3()
75 int get_skb_ifindex(int val, struct __sk_buff *skb, int var) in get_skb_ifindex()
83 int test_pkt_write_access_subprog(struct __sk_buff *skb, __u32 off) in test_pkt_write_access_subprog()
101 int test_pkt_access(struct __sk_buff *skb) in test_pkt_access()
Dtest_sk_lookup_kern.c57 int bpf_sk_lookup_test0(struct __sk_buff *skb) in bpf_sk_lookup_test0()
83 int bpf_sk_lookup_test1(struct __sk_buff *skb) in bpf_sk_lookup_test1()
95 int bpf_sk_lookup_uaf(struct __sk_buff *skb) in bpf_sk_lookup_uaf()
110 int bpf_sk_lookup_modptr(struct __sk_buff *skb) in bpf_sk_lookup_modptr()
125 int bpf_sk_lookup_modptr_or_null(struct __sk_buff *skb) in bpf_sk_lookup_modptr_or_null()
139 int bpf_sk_lookup_test2(struct __sk_buff *skb) in bpf_sk_lookup_test2()
148 int bpf_sk_lookup_test3(struct __sk_buff *skb) in bpf_sk_lookup_test3()
160 int bpf_sk_lookup_test4(struct __sk_buff *skb) in bpf_sk_lookup_test4()
170 void lookup_no_release(struct __sk_buff *skb) in lookup_no_release()
177 int bpf_sk_lookup_test5(struct __sk_buff *skb) in bpf_sk_lookup_test5()
Dtest_tc_tunnel.c72 static __always_inline int encap_ipv4(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv4()
217 static __always_inline int encap_ipv6(struct __sk_buff *skb, __u8 encap_proto, in encap_ipv6()
313 int __encap_ipip_none(struct __sk_buff *skb) in __encap_ipip_none()
322 int __encap_gre_none(struct __sk_buff *skb) in __encap_gre_none()
331 int __encap_gre_mpls(struct __sk_buff *skb) in __encap_gre_mpls()
340 int __encap_gre_eth(struct __sk_buff *skb) in __encap_gre_eth()
349 int __encap_udp_none(struct __sk_buff *skb) in __encap_udp_none()
358 int __encap_udp_mpls(struct __sk_buff *skb) in __encap_udp_mpls()
367 int __encap_udp_eth(struct __sk_buff *skb) in __encap_udp_eth()
376 int __encap_sit_none(struct __sk_buff *skb) in __encap_sit_none()
[all …]
Dtest_tunnel_kern.c46 int _gre_set_tunnel(struct __sk_buff *skb) in _gre_set_tunnel()
68 int _gre_get_tunnel(struct __sk_buff *skb) in _gre_get_tunnel()
85 int _ip6gretap_set_tunnel(struct __sk_buff *skb) in _ip6gretap_set_tunnel()
109 int _ip6gretap_get_tunnel(struct __sk_buff *skb) in _ip6gretap_get_tunnel()
129 int _erspan_set_tunnel(struct __sk_buff *skb) in _erspan_set_tunnel()
172 int _erspan_get_tunnel(struct __sk_buff *skb) in _erspan_get_tunnel()
213 int _ip4ip6erspan_set_tunnel(struct __sk_buff *skb) in _ip4ip6erspan_set_tunnel()
257 int _ip4ip6erspan_get_tunnel(struct __sk_buff *skb) in _ip4ip6erspan_get_tunnel()
299 int _vxlan_set_tunnel(struct __sk_buff *skb) in _vxlan_set_tunnel()
329 int _vxlan_get_tunnel(struct __sk_buff *skb) in _vxlan_get_tunnel()
[all …]
Dtest_tc_peer.c30 SEC("chk_egress") int tc_chk(struct __sk_buff *skb) in tc_chk()
35 SEC("dst_ingress") int tc_dst(struct __sk_buff *skb) in tc_dst()
40 SEC("src_ingress") int tc_src(struct __sk_buff *skb) in tc_src()
Dtailcall_bpf2bpf2.c14 int subprog_tail(struct __sk_buff *skb) in subprog_tail()
26 int bpf_func_0(struct __sk_buff *skb) in bpf_func_0()
33 int entry(struct __sk_buff *skb) in entry()
Dtailcall_bpf2bpf1.c14 int bpf_func_##x(struct __sk_buff *skb) \
22 int subprog_tail(struct __sk_buff *skb) in subprog_tail()
30 int entry(struct __sk_buff *skb) in entry()
Dcg_storage_multi_isolated.c24 int egress1(struct __sk_buff *skb) in egress1()
36 int egress2(struct __sk_buff *skb) in egress2()
48 int ingress(struct __sk_buff *skb) in ingress()
Dcg_storage_multi_shared.c24 int egress1(struct __sk_buff *skb) in egress1()
36 int egress2(struct __sk_buff *skb) in egress2()
48 int ingress(struct __sk_buff *skb) in ingress()
Dtest_global_func8.c7 __noinline int foo(struct __sk_buff *skb) in foo()
13 int test_cls(struct __sk_buff *skb) in test_cls()

1234