Home
last modified time | relevance | path

Searched refs:test_pkt_md_access (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_ext.c10 #include "test_pkt_md_access.skel.h"
18 struct test_pkt_md_access *skel_pkt = NULL; in test_trace_ext()
29 /* open/load/attach test_pkt_md_access */ in test_trace_ext()
31 if (CHECK(!skel_pkt, "setup", "classifier/test_pkt_md_access open failed\n")) in test_trace_ext()
35 if (CHECK(err, "setup", "classifier/test_pkt_md_access attach failed: %d\n", err)) in test_trace_ext()
38 prog = skel_pkt->progs.test_pkt_md_access; in test_trace_ext()
43 if (CHECK(!skel_ext, "setup", "freplace/test_pkt_md_access open failed\n")) in test_trace_ext()
46 /* set extension's attach target - test_pkt_md_access */ in test_trace_ext()
48 bpf_program__set_attach_target(prog, pkt_fd, "test_pkt_md_access"); in test_trace_ext()
52 if (CHECK(err, "setup", "freplace/test_pkt_md_access loa in test_trace_ext()
[all...]
H A Dpkt_md_access.c5 void test_pkt_md_access(void) in test_pkt_md_access() function
7 const char *file = "./test_pkt_md_access.o"; in test_pkt_md_access()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_ext.c10 #include "test_pkt_md_access.skel.h"
18 struct test_pkt_md_access *skel_pkt = NULL; in test_trace_ext()
33 /* open/load/attach test_pkt_md_access */ in test_trace_ext()
35 if (CHECK(!skel_pkt, "setup", "classifier/test_pkt_md_access open failed\n")) in test_trace_ext()
39 if (CHECK(err, "setup", "classifier/test_pkt_md_access attach failed: %d\n", err)) in test_trace_ext()
42 prog = skel_pkt->progs.test_pkt_md_access; in test_trace_ext()
47 if (CHECK(!skel_ext, "setup", "freplace/test_pkt_md_access open failed\n")) in test_trace_ext()
50 /* set extension's attach target - test_pkt_md_access */ in test_trace_ext()
52 bpf_program__set_attach_target(prog, pkt_fd, "test_pkt_md_access"); in test_trace_ext()
56 if (CHECK(err, "setup", "freplace/test_pkt_md_access loa in test_trace_ext()
[all...]
H A Dpkt_md_access.c5 void test_pkt_md_access(void) in test_pkt_md_access() function
7 const char *file = "./test_pkt_md_access.bpf.o"; in test_pkt_md_access()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dtest_pkt_md_access.c30 SEC("classifier/test_pkt_md_access")
31 int test_pkt_md_access(struct __sk_buff *skb) in test_pkt_md_access() function
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_pkt_md_access.c29 int test_pkt_md_access(struct __sk_buff *skb) in test_pkt_md_access() function

Completed in 2 milliseconds