Home
last modified time | relevance | path

Searched refs:get_u8 (Results 1 – 21 of 21) sorted by relevance

/external/iproute2/tc/
Dq_mqprio.c46 if (get_u8(&opt.num_tc, *argv, 10)) { in mqprio_parse_opt()
53 if (get_u8(&opt.prio_tc_map[idx], *argv, 10)) { in mqprio_parse_opt()
88 if (get_u8(&opt.hw, *argv, 10)) { in mqprio_parse_opt()
Df_flower.c78 ret = get_u8(&ip_proto, str, 16); in flower_parse_ip_proto()
/external/iproute2/ip/
Diplink_bond.c203 if (get_u8(&use_carrier, *argv, 0)) in bond_parse_opt()
277 if (get_u8(&num_peer_notif, *argv, 0)) in bond_parse_opt()
285 if (get_u8(&all_slaves_active, *argv, 0)) in bond_parse_opt()
349 if (get_u8(&tlb_dynamic_lb, *argv, 0)) { in bond_parse_opt()
Dlink_ip6tnl.c184 if (get_u8(&uval, *argv, 0)) in ip6tunnel_parse_opt()
193 if (get_u8(&uval, *argv, 0) < -1) in ip6tunnel_parse_opt()
208 if (get_u8(&uval, *argv, 16)) in ip6tunnel_parse_opt()
Dip6tunnel.c187 if (get_u8(&uval, *argv, 0) < -1) in parse_args()
197 if (get_u8(&uval, *argv, 0)) in parse_args()
210 if (get_u8(&uval, *argv, 16)) in parse_args()
Diproute_lwtunnel.c232 if (get_u8(&ttl, *argv, 0)) in parse_encap_ip()
305 if (get_u8(&hoplimit, *argv, 0)) in parse_encap_ip6()
Diplink_hsr.c53 if (get_u8(&multicast_spec, *argv, 0)) in hsr_parse_opt()
Dipfou.c70 else if (get_u8(&ipproto, *argv, 0) || ipproto == 0) in fou_parse_opt()
Dxfrm_policy.c151 if (get_u8(&val, *argv, 16)) in xfrm_policy_flag_parse()
1033 if (get_u8(&thr.lbits, *argv, 0) || thr.lbits > 32) in xfrm_spd_setinfo()
1036 if (get_u8(&thr.rbits, *argv, 0) || thr.rbits > 32) in xfrm_spd_setinfo()
1048 if (get_u8(&thr.lbits, *argv, 0) || thr.lbits > 128) in xfrm_spd_setinfo()
1051 if (get_u8(&thr.rbits, *argv, 0) || thr.rbits > 128) in xfrm_spd_setinfo()
Dlink_gre6.c242 if (get_u8(&uval, *argv, 0)) in gre_parse_opt()
253 if (get_u8(&uval, *argv, 16)) in gre_parse_opt()
Diplink_bridge.c90 if (get_u8(&vlan_filter, *argv, 0)) { in bridge_parse_opt()
Diplink_bridge_slave.c128 if (get_u8(&state, *argv, 0)) in bridge_slave_parse_opt()
Dipl2tp.c569 if (get_u8(&uval, *argv, 0)) in parse_args()
575 if (get_u8(&uval, *argv, 0)) in parse_args()
Dlink_iptnl.c192 if (get_u8(&ttl, *argv, 0)) in iptunnel_parse_opt()
Dxfrm_state.c153 if (get_u8(&val, vbuf, 16)) in xfrm_algo_parse()
198 if (get_u8(&val, *argv, 16)) in xfrm_state_flag_parse()
Diptunnel.c152 if (get_u8(&uval, *argv, 0)) in parse_args()
Dipxfrm.c1245 if (get_u8(&upspec, *argv, 0)) in xfrm_selector_upspec_parse()
Diproute.c1122 else if (get_u8(&pref, *argv, 0)) in iproute_modify()
/external/iproute2/include/
Dutils.h105 #define get_byte get_u8
113 int get_u8(__u8 *val, const char *arg, int base);
/external/iproute2/lib/
Dinet_proto.c57 if (get_u8(&ret, buf, 10)) in inet_proto_a2n()
Dutils.c274 int get_u8(__u8 *val, const char *arg, int base) in get_u8() function