Lines Matching refs:toys
87 if ((toys.optflags&FLAG_f) ? toys.optc : in netcat_main()
88 (!(toys.optflags&(FLAG_l|FLAG_L)) && toys.optc!=2)) in netcat_main()
91 if (toys.optflags&FLAG_4) family = AF_INET; in netcat_main()
92 else if (toys.optflags&FLAG_6) family = AF_INET6; in netcat_main()
94 if (toys.optflags&FLAG_u) type = SOCK_DGRAM; in netcat_main()
99 if (!(toys.optflags&(FLAG_L|FLAG_l))) { in netcat_main()
100 struct addrinfo *addr = xgetaddrinfo(toys.optargs[0], toys.optargs[1], in netcat_main()
134 if (CFG_TOYBOX_FORK && toys.optc && xfork()) goto cleanup; in netcat_main()
145 if (toys.optc) { in netcat_main()
155 if (toys.optflags&FLAG_L) NOEXIT(child = XVFORK()); in netcat_main()
162 if (toys.optflags&FLAG_L) dup2(in1, 2); in netcat_main()
164 xexec(toys.optargs); in netcat_main()
169 } while (!(toys.optflags&FLAG_l)); in netcat_main()