Lines Matching refs:optflags
145 if (!(toys.optflags & FLAG_D)) { in set_entry()
165 if ((toys.optflags & FLAG_H) && (ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER)) in set_entry()
176 if (toys.optflags & FLAG_v) xprintf("Entry set for %s\n", toys.optargs[0]); in set_entry()
205 if (toys.optflags & FLAG_v) xprintf("Delete entry for %s\n", toys.optargs[0]); in delete_entry()
220 if ((toys.optflags & FLAG_A) || (toys.optflags & FLAG_p)) { in arp_main()
227 if (toys.optflags & FLAG_H) { in arp_main()
233 if (((toys.optflags & FLAG_s) || toys.optflags & FLAG_d)) { in arp_main()
239 if ((toys.optflags & FLAG_s) && !set_entry()) return; in arp_main()
240 if ((toys.optflags & FLAG_d) && !delete_entry()) return; in arp_main()
259 if (((toys.optflags & FLAG_H) && (get_index(hwtype, TT.hw_type) != h_type)) in arp_main()
260 || ((toys.optflags & FLAG_i) && strcmp(TT.interface, dev)) in arp_main()
267 if (!(toys.optflags & FLAG_n)) { in arp_main()
292 if (toys.optflags & FLAG_v) in arp_main()