Home
last modified time | relevance | path

Searched refs:get_unsigned (Results 1 – 18 of 18) sorted by relevance

/external/iproute2/tc/
Dq_choke.c53 if (get_unsigned(&opt.limit, *argv, 0)) { in choke_parse_opt()
67 if (get_unsigned(&opt.qth_min, *argv, 0)) { in choke_parse_opt()
73 if (get_unsigned(&opt.qth_max, *argv, 0)) { in choke_parse_opt()
79 if (get_unsigned(&burst, *argv, 0)) { in choke_parse_opt()
Df_rsvp.c240 if (get_unsigned(&tid, *argv, 0)) { in rsvp_parse_opt()
249 if (get_unsigned(&tid, *argv, 0)) { in rsvp_parse_opt()
258 if (get_unsigned(&tid, *argv, 0)) { in rsvp_parse_opt()
Dq_rr.c67 if (get_unsigned(&band, *argv, 10)) { in rr_parse_opt()
Dq_prio.c66 if (get_unsigned(&band, *argv, 10)) { in prio_parse_opt()
Dm_skbedit.c72 if (get_unsigned(&tmp, *argv, 10) || tmp > 65535) { in parse_skbedit()
Dq_red.c71 if (get_unsigned(&burst, *argv, 0)) { in red_parse_opt()
Dq_sfq.c122 if (get_unsigned(&burst, *argv, 0)) { in sfq_parse_opt()
Dq_gred.c175 if (get_unsigned(&burst, *argv, 0)) { in gred_parse_opt()
Df_u32.c1038 if (get_unsigned(&divisor, *argv, 0) || in u32_parse_opt()
1099 if (get_unsigned(&divisor, *argv, 0) || divisor == 0 || in u32_parse_opt()
/external/iproute2/ip/
Dlink_gre.c142 if (get_unsigned(&uval, *argv, 0) < 0) { in gre_parse_opt()
159 if (get_unsigned(&uval, *argv, 0)<0) { in gre_parse_opt()
174 if (get_unsigned(&uval, *argv, 0)<0) { in gre_parse_opt()
218 if (get_unsigned(&uval, *argv, 0)) in gre_parse_opt()
Diproute.c650 if (get_unsigned(&w, *argv, 0) || w == 0 || w > 256) in parse_one_nh()
792 if (get_unsigned(&mtu, *argv, 0)) in iproute_modify()
802 if (get_unsigned(&hoplimit, *argv, 0)) in iproute_modify()
812 if (get_unsigned(&mss, *argv, 0)) in iproute_modify()
822 if (get_unsigned(&reord, *argv, 0)) in iproute_modify()
852 if (get_unsigned(&win, *argv, 0)) in iproute_modify()
862 if (get_unsigned(&win, *argv, 0)) in iproute_modify()
872 if (get_unsigned(&win, *argv, 0)) in iproute_modify()
882 if (get_unsigned(&win, *argv, 0)) in iproute_modify()
903 if (get_unsigned(&win, *argv, 0)) in iproute_modify()
[all …]
Diptunnel.c109 if (get_unsigned(&uval, *argv, 0)<0) { in parse_args()
122 if (get_unsigned(&uval, *argv, 0)<0) { in parse_args()
135 if (get_unsigned(&uval, *argv, 0)<0) { in parse_args()
175 if (get_unsigned(&uval, *argv, 0)) in parse_args()
Dip.c238 if (get_unsigned(&size, argv[1], 0)) { in main()
Diplink.c216 if (get_unsigned(&ivv.vlan, *argv, 0)) { in iplink_parse_vf()
225 if (get_unsigned(&ivv.qos, *argv, 0)) { in iplink_parse_vf()
237 if (get_unsigned(&ivt.rate, *argv, 0)) { in iplink_parse_vf()
Dipneigh.c76 if (get_unsigned(state, arg, 0)) in nud_state_a2n()
Dipxfrm.c1241 if (get_unsigned(&uval, *argv, 0)<0) { in xfrm_selector_upspec_parse()
/external/iproute2/include/
Dutils.h81 extern int get_unsigned(unsigned *val, const char *arg, int base);
/external/iproute2/lib/
Dutils.c66 if (!get_unsigned(val, arg, base)) in get_netmask()
82 int get_unsigned(unsigned *val, const char *arg, int base) in get_unsigned() function