Lines Matching refs:ctrl
57 int ctrl;
58 ctrl = open("/proc/net/xt_qtaguid/ctrl", O_RDWR);
59 if (!ctrl) {
60 testPrintE("qtaguid ctrl open failed: %s", strerror(errno));
62 return ctrl;
70 int ctrl;
75 ctrl = openCtrl();
78 res = write(ctrl, buff, strlen(buff));
80 close(ctrl);
146 std::ifstream fctrl("/proc/net/xt_qtaguid/ctrl", std::fstream::in);
148 testPrintI("qtaguid ctrl open failed!");
209 ASSERT_GE(ctrl_fd, 0) << "qtaguid ctrl open failed";