Home
last modified time | relevance | path

Searched refs:cg_fd (Results 1 – 4 of 4) sorted by relevance

/system/netd/libbpf/
DBpfUtils.cpp176 int attachProgram(bpf_attach_type type, uint32_t prog_fd, uint32_t cg_fd) { in attachProgram() argument
179 attr.target_fd = cg_fd; in attachProgram()
186 int detachProgram(bpf_attach_type type, uint32_t cg_fd) { in detachProgram() argument
189 attr.target_fd = cg_fd; in detachProgram()
/system/netd/libbpf/include/bpf/
DBpfUtils.h144 int attachProgram(bpf_attach_type type, uint32_t prog_fd, uint32_t cg_fd);
145 int detachProgram(bpf_attach_type type, uint32_t cg_fd);
/system/netd/bpfloader/
DBpfLoader.cpp247 unique_fd cg_fd(open(CGROUP_ROOT_PATH, O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in loadAndAttachProgram() local
248 if (cg_fd < 0) { in loadAndAttachProgram()
251 ret = attachProgram(type, fd, cg_fd); in loadAndAttachProgram()
/system/netd/server/
DTrafficController.h202 base::unique_fd& cg_fd);