Lines Matching refs:cmd_fd
708 static int do_ping(int cmd_fd, char *buf, size_t buf_len, struct in_addr from, in do_ping() argument
726 write_msg(cmd_fd, &msg, 0); in do_ping()
729 read_msg(cmd_fd, &msg, 0); in do_ping()
1749 unsigned int nr, int cmd_fd, void *buf, struct xfrm_desc *desc) in child_serv() argument
1761 if (do_ping(cmd_fd, buf, page_size, src, true, 0, 0, udp_ping_send)) { in child_serv()
1769 write_msg(cmd_fd, &msg, 1); in child_serv()
1779 write_msg(cmd_fd, &msg, 1); in child_serv()
1786 if (do_ping(cmd_fd, buf, page_size, tunsrc, in child_serv()
1798 write_msg(cmd_fd, &msg, 1); in child_serv()
1809 write_msg(cmd_fd, &msg, 1); in child_serv()
1817 static int child_f(unsigned int nr, int test_desc_fd, int cmd_fd, void *buf) in child_f() argument
1835 write_msg(cmd_fd, &msg, 1); in child_f()
1836 read_msg(cmd_fd, &msg, 1); in child_f()
1857 cmd_fd, buf, &desc); in child_f()
1885 write_msg(cmd_fd, &msg, 1); in child_f()
1889 static void grand_child_serv(unsigned int nr, int cmd_fd, void *buf, in grand_child_serv() argument
1905 write_msg(cmd_fd, msg, 1); in grand_child_serv()
1910 if (do_ping(cmd_fd, buf, page_size, tun_reply ? tunsrc : src, in grand_child_serv()
1946 static int grand_child_f(unsigned int nr, int cmd_fd, void *buf) in grand_child_f() argument
1961 read_msg(cmd_fd, &msg, 1); in grand_child_f()
1962 grand_child_serv(nr, cmd_fd, buf, &msg, xfrm_sock, &seq); in grand_child_f()