Lines Matching defs:cmd_fd
751 static int do_ping(int cmd_fd, char *buf, size_t buf_len, struct in_addr from,
769 write_msg(cmd_fd, &msg, 0);
772 read_msg(cmd_fd, &msg, 0);
1742 unsigned int nr, int cmd_fd, void *buf, struct xfrm_desc *desc)
1754 if (do_ping(cmd_fd, buf, page_size, src, true, 0, 0, udp_ping_send)) {
1762 write_msg(cmd_fd, &msg, 1);
1772 write_msg(cmd_fd, &msg, 1);
1779 if (do_ping(cmd_fd, buf, page_size, tunsrc,
1791 write_msg(cmd_fd, &msg, 1);
1802 write_msg(cmd_fd, &msg, 1);
1810 static int child_f(unsigned int nr, int test_desc_fd, int cmd_fd, void *buf)
1828 write_msg(cmd_fd, &msg, 1);
1829 read_msg(cmd_fd, &msg, 1);
1850 cmd_fd, buf, &desc);
1878 write_msg(cmd_fd, &msg, 1);
1882 static void grand_child_serv(unsigned int nr, int cmd_fd, void *buf,
1898 write_msg(cmd_fd, msg, 1);
1903 if (do_ping(cmd_fd, buf, page_size, tun_reply ? tunsrc : src,
1939 static int grand_child_f(unsigned int nr, int cmd_fd, void *buf)
1954 read_msg(cmd_fd, &msg, 1);
1955 grand_child_serv(nr, cmd_fd, buf, &msg, xfrm_sock, &seq);