Lines Matching defs:cmd_fd
746 static int do_ping(int cmd_fd, char *buf, size_t buf_len, struct in_addr from,
764 write_msg(cmd_fd, &msg, 0);
767 read_msg(cmd_fd, &msg, 0);
1734 unsigned int nr, int cmd_fd, void *buf, struct xfrm_desc *desc)
1746 if (do_ping(cmd_fd, buf, page_size, src, true, 0, 0, udp_ping_send)) {
1754 write_msg(cmd_fd, &msg, 1);
1764 write_msg(cmd_fd, &msg, 1);
1771 if (do_ping(cmd_fd, buf, page_size, tunsrc,
1783 write_msg(cmd_fd, &msg, 1);
1794 write_msg(cmd_fd, &msg, 1);
1802 static int child_f(unsigned int nr, int test_desc_fd, int cmd_fd, void *buf)
1820 write_msg(cmd_fd, &msg, 1);
1821 read_msg(cmd_fd, &msg, 1);
1842 cmd_fd, buf, &desc);
1870 write_msg(cmd_fd, &msg, 1);
1874 static void grand_child_serv(unsigned int nr, int cmd_fd, void *buf,
1890 write_msg(cmd_fd, msg, 1);
1895 if (do_ping(cmd_fd, buf, page_size, tun_reply ? tunsrc : src,
1931 static int grand_child_f(unsigned int nr, int cmd_fd, void *buf)
1946 read_msg(cmd_fd, &msg, 1);
1947 grand_child_serv(nr, cmd_fd, buf, &msg, xfrm_sock, &seq);