Lines Matching refs:optflags
117 if (toys.optflags & FLAG_U) { in send_probe4()
164 if ((toys.optflags & FLAG_d) && (setsockopt(sock,SOL_SOCKET, SO_DEBUG, in set_flag_dr()
167 if ((toys.optflags & FLAG_r) && (setsockopt(sock, SOL_SOCKET, SO_DONTROUTE, in set_flag_dr()
221 if (probe && (toys.optflags & FLAG_z)) usleep(TT.pause_time * 1000); in do_trace()
270 if (toys.optflags & FLAG_U) { in do_trace()
298 if (!(toys.optflags & FLAG_n)) { in do_trace()
308 if (!(toys.optflags & FLAG_n)) xprintf(")"); in do_trace()
312 if (toys.optflags & FLAG_l) xprintf(" (%d)", rcv_pkt->ip_ttl); in do_trace()
313 if (toys.optflags & FLAG_v) { in do_trace()
413 if (!(toys.optflags & FLAG_n)) { in do_trace()
424 if (!(toys.optflags & FLAG_n)) xprintf(")"); in do_trace()
428 if (toys.optflags & FLAG_v) { in do_trace()
483 if(!(toys.optflags & FLAG_4) && in traceroute_main()
485 toys.optflags |= FLAG_6; in traceroute_main()
488 if (toys.optflags & FLAG_6) TT.istraceroute6 = 1; in traceroute_main()
491 if(!TT.istraceroute6 && (toys.optflags & FLAG_g)) { in traceroute_main()
530 if (toys.optflags & FLAG_U) in traceroute_main()
534 if (toys.optflags & FLAG_i) bind_to_interface(TT.snd_sock); in traceroute_main()
536 resolve_addr(toys.optargs[0], AF_INET, ((toys.optflags & FLAG_U) ? in traceroute_main()
537 SOCK_DGRAM : SOCK_RAW), ((toys.optflags & FLAG_U) ? IPPROTO_UDP : in traceroute_main()
563 if ((toys.optflags & FLAG_t) && in traceroute_main()
568 if ((toys.optflags & FLAG_F) && in traceroute_main()
580 if (!(toys.optflags & FLAG_U)) TT.ident |= 0x8000; in traceroute_main()
581 if (toys.optflags & FLAG_s) { in traceroute_main()
600 if (toys.optflags & FLAG_i) bind_to_interface(TT.snd_sock); in traceroute_main()
603 if (toys.optflags & FLAG_s) { in traceroute_main()
617 if (toys.optflags & FLAG_i) bind_to_interface(p_fd); in traceroute_main()
637 if (toys.optflags & FLAG_s) xprintf(" from %s",TT.src_ip); in traceroute_main()