Lines Matching refs:optflags
63 if (!(toys.optflags & FLAG_n)) { in addr2str()
148 if (!((toys.optflags & FLAG_l) && (!rport && (state & 0xA))) in show_ip()
149 && !(toys.optflags & FLAG_a) && !(rport & (0x10 | 0x20 | 0x40))) in show_ip()
166 if (!(toys.optflags & FLAG_n) && (pw = bufgetpwuid(uid))) in show_ip()
173 if ((toys.optflags & FLAG_e)) printf(" %-10s %-11ld", toybuf, inode); in show_ip()
174 if ((toys.optflags & FLAG_p)) { in show_ip()
207 if (state==1 && flags && !(toys.optflags&FLAG_a)) continue; in show_unix_sockets()
216 if (toys.optflags & FLAG_p) { in show_unix_sockets()
288 !(toys.optflags&FLAG_e) ? " MSS Window irtt" : "Metric Ref Use"); in display_routes()
304 } else destip = (toys.optflags&FLAG_n) ? "0.0.0.0" : "default"; in display_routes()
309 } else gateip = (toys.optflags&FLAG_n) ? "0.0.0.0" : "*"; in display_routes()
327 if (!(toys.optflags & FLAG_e)) in display_routes()
340 TT.wpad = (toys.optflags&FLAG_W) ? 51 : 23; in netstat_main()
341 if (!(toys.optflags&(FLAG_r|tuwx))) toys.optflags |= tuwx; in netstat_main()
342 if (toys.optflags & FLAG_r) display_routes(); in netstat_main()
343 if (!(toys.optflags&tuwx)) return; in netstat_main()
345 if (toys.optflags & FLAG_a) type = "established and"; in netstat_main()
346 else if (toys.optflags & FLAG_l) type = "only"; in netstat_main()
348 if (toys.optflags & FLAG_p) dirtree_read("/proc", scan_pids); in netstat_main()
350 if (toys.optflags&(FLAG_t|FLAG_u|FLAG_w)) { in netstat_main()
354 if (toys.optflags & FLAG_e) printf(" User Inode "); in netstat_main()
355 if (toys.optflags & FLAG_p) printf(" PID/Program Name"); in netstat_main()
358 if (toys.optflags & FLAG_t) { in netstat_main()
362 if (toys.optflags & FLAG_u) { in netstat_main()
366 if (toys.optflags & FLAG_w) { in netstat_main()
372 if (toys.optflags & FLAG_x) { in netstat_main()
376 (toys.optflags&FLAG_p) ? "PID/Program Name" : "I-Node"); in netstat_main()
380 if ((toys.optflags & FLAG_p) && CFG_TOYBOX_FREE) in netstat_main()