Searched refs:skeletons (Results 1 – 3 of 3) sorted by relevance
| /Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
| D | xdp_bonding.c | 90 struct skeletons { struct 99 static int xdp_attach(struct skeletons *skeletons, struct bpf_program *prog, char *iface) in xdp_attach() argument 108 if (!ASSERT_LE(skeletons->nlinks+1, MAX_BPF_LINKS, "too many XDP programs attached")) in xdp_attach() 115 skeletons->links[skeletons->nlinks++] = link; in xdp_attach() 142 static int bonding_setup(struct skeletons *skeletons, int mode, int xmit_policy, in bonding_setup() argument 162 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "veth1_2")) in bonding_setup() 176 if (xdp_attach(skeletons, skeletons->xdp_dummy->progs.xdp_dummy_prog, "bond1")) in bonding_setup() 183 if (xdp_attach(skeletons, skeletons->xdp_tx->progs.xdp_tx, "bond2")) in bonding_setup() 194 static void bonding_cleanup(struct skeletons *skeletons) in bonding_cleanup() argument 197 while (skeletons->nlinks) { in bonding_cleanup() [all …]
|
| /Linux-v6.6/tools/bpf/bpftool/Documentation/ |
| D | common_options.rst | 11 programs (**bpftool prog dump jited**) and usage of BPF skeletons
|
| D | bpftool-gen.rst | 157 Subskeletons are similar to skeletons, except they do not own 206 For skeletons, generate a "light" skeleton (also known as "loader"
|