Searched refs:link2 (Results 1 – 2 of 2) sorted by relevance
125 int link1, link2; in test_link_create_link_create() local136 link2 = bpf_link_create(prog2, netns, BPF_FLOW_DISSECTOR, &opts); in test_link_create_link_create()137 if (CHECK_FAIL(link2 != -1 || errno != E2BIG)) in test_link_create_link_create()139 if (link2 != -1) in test_link_create_link_create()140 close(link2); in test_link_create_link_create()
1192 struct bpf_link *link1, *link2; in run_multi_prog_lookup() local1210 link2 = attach_lookup_prog(t->prog2); in run_multi_prog_lookup()1211 if (!link2) in run_multi_prog_lookup()1252 bpf_link__destroy(link2); in run_multi_prog_lookup()