Lines Matching refs:priv_fd
52 static int priv_fd = -1;
113 priv_fd = socks[1];
245 if (priv_fd < 0)
250 must_write(priv_fd, &cmd, sizeof(int));
251 must_write(priv_fd, &snaplen, sizeof(int));
253 must_read(priv_fd, &ret, sizeof(int));
268 if (priv_fd < 0)
272 must_write(priv_fd, &cmd, sizeof(int));
273 fd = receive_fd(priv_fd);
283 if (priv_fd < 0)
287 must_write(priv_fd, &cmd, sizeof(int));
288 must_read(priv_fd, &ret, sizeof(int));