Searched refs:child_cg_fd (Results 1 – 1 of 1) sorted by relevance
350 int parent_cg_fd = -1, child_cg_fd = -1; in test_sock_fields() local365 child_cg_fd = test__join_cgroup(CHILD_CGROUP); in test_sock_fields()366 if (CHECK_FAIL(child_cg_fd < 0)) in test_sock_fields()376 link = bpf_program__attach_cgroup(skel->progs.egress_read_sock_fields, child_cg_fd); in test_sock_fields()381 link = bpf_program__attach_cgroup(skel->progs.ingress_read_sock_fields, child_cg_fd); in test_sock_fields()386 link = bpf_program__attach_cgroup(skel->progs.read_sk_dst_port, child_cg_fd); in test_sock_fields()400 if (child_cg_fd != -1) in test_sock_fields()401 close(child_cg_fd); in test_sock_fields()