Home
last modified time | relevance | path

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

/samples/bpf/
Dtest_cgrp2_attach.c84 int cg_fd, map_fd, prog_fd, key, ret; in main() local
102 cg_fd = open(argv[1], O_DIRECTORY | O_RDONLY); in main()
103 if (cg_fd < 0) { in main()
124 ret = bpf_prog_detach(cg_fd, type); in main()
127 ret = bpf_prog_attach(prog_fd, cg_fd, type, 0); in main()