Home
last modified time | relevance | path

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

/external/iproute2/ip/
Diplink_bridge.c130 if (get_u8(&vlan_filter, *argv, 0)) in bridge_parse_opt()
174 if (get_u8(&vlan_stats_enabled, *argv, 0)) in bridge_parse_opt()
182 if (get_u8(&mcast_router, *argv, 0)) in bridge_parse_opt()
190 if (get_u8(&mcast_snoop, *argv, 0)) in bridge_parse_opt()
198 if (get_u8(&mcast_qui, *argv, 0)) in bridge_parse_opt()
208 if (get_u8(&mcast_querier, *argv, 0)) in bridge_parse_opt()
315 if (get_u8(&mcast_stats_enabled, *argv, 0)) in bridge_parse_opt()
323 if (get_u8(&igmp_version, *argv, 0)) in bridge_parse_opt()
331 if (get_u8(&mld_version, *argv, 0)) in bridge_parse_opt()
339 if (get_u8(&nf_call_ipt, *argv, 0)) in bridge_parse_opt()
[all …]
Diplink_hsr.c56 if (get_u8(&multicast_spec, *argv, 0)) in hsr_parse_opt()
62 if (!(get_u8(&protocol_version, *argv, 0) == 0 || in hsr_parse_opt()
63 get_u8(&protocol_version, *argv, 0) == 1)) in hsr_parse_opt()
Diplink_bond.c203 if (get_u8(&use_carrier, *argv, 0)) in bond_parse_opt()
278 if (get_u8(&num_peer_notif, *argv, 0)) in bond_parse_opt()
286 if (get_u8(&all_slaves_active, *argv, 0)) in bond_parse_opt()
350 if (get_u8(&tlb_dynamic_lb, *argv, 0)) { in bond_parse_opt()
Dip6tunnel.c191 if (get_u8(&uval, *argv, 0) < -1) in parse_args()
202 if (get_u8(&uval, *argv, 0)) in parse_args()
216 if (get_u8(&uval, *argv, 16)) in parse_args()
Dlink_ip6tnl.c206 if (get_u8(&uval, *argv, 0)) in ip6tunnel_parse_opt()
216 if (get_u8(&uval, *argv, 0) < -1) in ip6tunnel_parse_opt()
232 if (get_u8(&uval, *argv, 16)) in ip6tunnel_parse_opt()
Diplink_bridge_slave.c270 if (get_u8(&state, *argv, 0)) in bridge_slave_parse_opt()
323 if (get_u8(&mcast_router, *argv, 0)) in bridge_slave_parse_opt()
Dlink_gre6.c277 if (get_u8(&uval, *argv, 0)) in gre_parse_opt()
289 if (get_u8(&uval, *argv, 16)) in gre_parse_opt()
367 if (get_u8(&uval, *argv, 0) < -1) in gre_parse_opt()
Dxfrm_policy.c151 if (get_u8(&val, *argv, 16)) in xfrm_policy_flag_parse()
1038 if (get_u8(&thr.lbits, *argv, 0) || thr.lbits > 32) in xfrm_spd_setinfo()
1041 if (get_u8(&thr.rbits, *argv, 0) || thr.rbits > 32) in xfrm_spd_setinfo()
1053 if (get_u8(&thr.lbits, *argv, 0) || thr.lbits > 128) in xfrm_spd_setinfo()
1056 if (get_u8(&thr.rbits, *argv, 0) || thr.rbits > 128) in xfrm_spd_setinfo()
Dipfou.c71 else if (get_u8(&ipproto, *argv, 0) || ipproto == 0) in fou_parse_opt()
Diproute_lwtunnel.c666 if (get_u8(&ttl, *argv, 0)) in parse_encap_mpls()
726 if (get_u8(&ttl, *argv, 0)) in parse_encap_ip()
832 if (get_u8(&hoplimit, *argv, 0)) in parse_encap_ip6()
Dipl2tp.c635 if (get_u8(&uval, *argv, 0)) in parse_args()
642 if (get_u8(&uval, *argv, 0)) in parse_args()
Dipmacsec.c124 int ret = get_u8(val, arg, 0); in get_an()
150 int ret = get_u8(icvlen, arg, 10); in get_icvlen()
Dlink_iptnl.c215 if (get_u8(&ttl, *argv, 0)) in iptunnel_parse_opt()
Dxfrm_state.c155 if (get_u8(&val, vbuf, 16)) in xfrm_algo_parse()
198 if (get_u8(&val, *argv, 16)) in xfrm_state_flag_parse()
Diptunnel.c150 if (get_u8(&uval, *argv, 0)) in parse_args()
Dipxfrm.c1235 if (get_u8(&upspec, *argv, 0)) in xfrm_selector_upspec_parse()
Diproute.c1191 else if (get_u8(&pref, *argv, 0)) in iproute_modify()
/external/iproute2/tc/
Dq_mqprio.c48 if (get_u8(&opt.num_tc, *argv, 10)) { in mqprio_parse_opt()
55 if (get_u8(&opt.prio_tc_map[idx], *argv, 10)) { in mqprio_parse_opt()
90 if (get_u8(&opt.hw, *argv, 10)) { in mqprio_parse_opt()
Df_flower.c223 ret = get_u8(&ip_proto, str, 16); in flower_parse_ip_proto()
331 ret = get_u8(&value, str, 10); in flower_parse_u8()
340 ret = get_u8(&mask, slash + 1, 10); in flower_parse_u8()
526 ret = get_u8(&tos_ttl, str, 10); in flower_parse_ip_tos_ttl()
528 ret = get_u8(&tos_ttl, str, 16); in flower_parse_ip_tos_ttl()
535 ret = get_u8(&tos_ttl, slash + 1, 16); in flower_parse_ip_tos_ttl()
660 ret = get_u8(&vlan_prio, *argv, 10); in flower_parse_opt()
Dm_vlan.c125 if (get_u8(&prio, *argv, 0) || (prio & ~0x7)) in parse_vlan()
/external/iproute2/lib/
Dinet_proto.c58 if (!get_u8(&ret, buf, 10)) in inet_proto_a2n()
Dutils.c289 int get_u8(__u8 *val, const char *arg, int base) in get_u8() function
/external/iproute2/include/
Dutils.h95 #define get_byte get_u8
103 int get_u8(__u8 *val, const char *arg, int base);