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

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

Completed in 119 milliseconds