Home
last modified time | relevance | path

Searched refs:flag_get (Results 1 – 3 of 3) sorted by relevance

/external/toybox/toys/pending/
Ddhcp.c74 #define flag_get(f,v,d) ((toys.optflags & f) ? v : d) macro
536 char *script = flag_get(FLAG_s, TT.script, "/usr/share/dhcp/default.script"); in run_script()
1015 vendor = flag_get(FLAG_V, TT.vendor_cls, "toybox\0"); in dhcpc_sendmsg()
1029 vendor = flag_get(FLAG_V, TT.vendor_cls, "toybox\0"); in dhcpc_sendmsg()
1279 retries = flag_get(FLAG_t, TT.retries, 3); in dhcp_main()
1301 state->iface = flag_get(FLAG_i, TT.iface, "eth0"); in dhcp_main()
1342 timeout = flag_get(FLAG_T, TT.timeout, 3); in dhcp_main()
1360 timeout = flag_get(FLAG_A, TT.tryagain, 20); in dhcp_main()
1370 timeout = flag_get(FLAG_T, TT.timeout, 3); in dhcp_main()
Dpgrep.c31 #define flag_get(f,v,d) ((toys.optflags & f) ? v : d) macro
Ddhcpd.c42 #define flag_get(f,v,d) ((toys.optflags & (f)) ? (v) : (d)) macro