Lines Matching refs:FLAG
138 if (!FLAG(D)) { in set_entry()
158 if (FLAG(H) && ifre.ifr_hwaddr.sa_family != ARPHRD_ETHER) in set_entry()
169 if (FLAG(v)) xprintf("Entry set for %s\n", toys.optargs[0]); in set_entry()
197 if (FLAG(v)) xprintf("Delete entry for %s\n", toys.optargs[0]); in delete_entry()
212 if (FLAG(A) || FLAG(p)) { in arp_main()
219 if (FLAG(H)) { in arp_main()
225 if (FLAG(s) || FLAG(d)) { in arp_main()
226 if (!toys.optargs[0]) error_exit("-%c needs a host name", FLAG(d)?'d':'s'); in arp_main()
230 if (FLAG(s) && !set_entry()) return; in arp_main()
231 if (FLAG(d) && !delete_entry()) return; in arp_main()
249 if ((FLAG(H) && get_index(hwtype, TT.hw_type) != h_type) || in arp_main()
250 (FLAG(i) && strcmp(TT.interface, dev)) || in arp_main()
256 if (FLAG(n)) ip_to_host(&sa, NI_NUMERICHOST); in arp_main()
279 if (FLAG(v)) in arp_main()