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