Lines Matching defs:cmd_fd
705 static int do_ping(int cmd_fd, char *buf, size_t buf_len, struct in_addr from,
723 write_msg(cmd_fd, &msg, 0);
726 read_msg(cmd_fd, &msg, 0);
1597 unsigned int nr, int cmd_fd, void *buf, struct xfrm_desc *desc)
1609 if (do_ping(cmd_fd, buf, page_size, src, true, 0, 0, udp_ping_send)) {
1617 write_msg(cmd_fd, &msg, 1);
1627 write_msg(cmd_fd, &msg, 1);
1634 if (do_ping(cmd_fd, buf, page_size, tunsrc,
1646 write_msg(cmd_fd, &msg, 1);
1657 write_msg(cmd_fd, &msg, 1);
1665 static int child_f(unsigned int nr, int test_desc_fd, int cmd_fd, void *buf)
1683 write_msg(cmd_fd, &msg, 1);
1684 read_msg(cmd_fd, &msg, 1);
1705 cmd_fd, buf, &desc);
1730 write_msg(cmd_fd, &msg, 1);
1734 static void grand_child_serv(unsigned int nr, int cmd_fd, void *buf,
1750 write_msg(cmd_fd, msg, 1);
1755 if (do_ping(cmd_fd, buf, page_size, tun_reply ? tunsrc : src,
1791 static int grand_child_f(unsigned int nr, int cmd_fd, void *buf)
1806 read_msg(cmd_fd, &msg, 1);
1807 grand_child_serv(nr, cmd_fd, buf, &msg, xfrm_sock, &seq);