Home
last modified time | relevance | path

Searched refs:__str2type (Results 1 – 25 of 28) sorted by relevance

12

/external/libnl/lib/netfilter/
Dnetfilter.c34 return __str2type(name, nfnl_verdicts, ARRAY_SIZE(nfnl_verdicts)); in nfnl_str2verdict()
53 return __str2type(name, nfnl_inet_hooks, ARRAY_SIZE(nfnl_inet_hooks)); in nfnl_str2inet_hook()
Dqueue_obj.c71 return __str2type(name, copy_modes, ARRAY_SIZE(copy_modes)); in nfnl_queue_str2copy_mode()
Dlog_obj.c75 return __str2type(name, copy_modes, ARRAY_SIZE(copy_modes)); in nfnl_log_str2copy_mode()
/external/libnl/lib/route/
Drtnl.c83 return __str2type(name, rtntypes, ARRAY_SIZE(rtntypes)); in nl_str2rtntype()
108 return __str2type(name, scopes, ARRAY_SIZE(scopes)); in rtnl_str2scope()
Droute_utils.c167 return __str2type(name, route_metrices, ARRAY_SIZE(route_metrices)); in rtnl_route_str2metric()
Dneigh.c883 return __str2type(name, neigh_states, ARRAY_SIZE(neigh_states)); in rtnl_neigh_str2state()
911 return __str2type(name, neigh_flags, ARRAY_SIZE(neigh_flags)); in rtnl_neigh_str2flag()
Dlink.c3075 return __str2type(name, link_stats, ARRAY_SIZE(link_stats)); in rtnl_link_str2stat()
3096 return __str2type(name, link_operstates, in rtnl_link_str2operstate()
3117 return __str2type(name, link_modes, ARRAY_SIZE(link_modes)); in rtnl_link_str2mode()
3128 return __str2type(name, carrier_states, ARRAY_SIZE(carrier_states)); in rtnl_link_str2carrier()
Dtc.c632 return __str2type(name, tc_stats, ARRAY_SIZE(tc_stats)); in rtnl_tc_str2stat()
/external/libnl/lib/idiag/
Didiag.c125 return __str2type(name, idiag_states, ARRAY_SIZE(idiag_states)); in idiagnl_str2state()
159 return __str2type(name, idiag_timers, ARRAY_SIZE(idiag_timers)); in idiagnl_str2timer()
/external/libnl/lib/route/cls/
Dpolice.c63 return __str2type(name, police_types, ARRAY_SIZE(police_types)); in nl_str2police()
/external/libnl/lib/route/link/
Dmacvlan.c834 return __str2type(name, macvlan_modes, ARRAY_SIZE(macvlan_modes)); in rtnl_link_macvlan_str2mode()
845 return __str2type(name, macvlan_macmodes, ARRAY_SIZE(macvlan_macmodes)); in rtnl_link_macvlan_str2macmode()
855 return __str2type(name, macvlan_modes, ARRAY_SIZE(macvlan_modes)); in rtnl_link_macvtap_str2mode()
Dipvlan.c262 return __str2type(name, ipvlan_modes, ARRAY_SIZE(ipvlan_modes)); in rtnl_link_ipvlan_str2mode()
Dinet.c183 return __str2type(name, inet_devconf, ARRAY_SIZE(inet_devconf)); in rtnl_link_inet_str2devconf()
Dbridge.c890 return __str2type(name, port_states, ARRAY_SIZE(port_states)); in rtnl_link_bridge_str2portstate()
912 return __str2type(name, hw_modes, ARRAY_SIZE(hw_modes)); in rtnl_link_bridge_str2hwmode()
Dsriov.c1409 return __str2type(name, vf_link_states, ARRAY_SIZE(vf_link_states)); in rtnl_link_vf_str2linkstate()
1425 return __str2type(name, vf_vlan_proto, ARRAY_SIZE(vf_vlan_proto)); in rtnl_link_vf_str2vlanproto()
Dinet6.c316 return (uint8_t) __str2type(mode, inet6_addr_gen_mode, in rtnl_link_inet6_str2addrgenmode()
/external/libnl/lib/
Dutils.c666 return __str2type(name, nlfamilies, ARRAY_SIZE(nlfamilies)); in nl_str2nlfamily()
766 return __str2type(name, llprotos, ARRAY_SIZE(llprotos)); in nl_str2llproto()
857 return __str2type(name, ether_protos, ARRAY_SIZE(ether_protos)); in nl_str2ether_proto()
1066 int __str2type(const char *buf, const struct trans_tbl *tbl, size_t tbl_len) in __str2type() function
Daddr.c1133 int fam = __str2type(name, afs, ARRAY_SIZE(afs)); in nl_str2af()
Dmsg.c661 return __str2type(name, nl_msgtypes, ARRAY_SIZE(nl_msgtypes)); in nl_str2nlmsgtype()
/external/libnl/lib/route/qdisc/
Dprio.c253 return __str2type(name, prios, ARRAY_SIZE(prios)); in rtnl_str2prio()
Dcbq.c63 return __str2type(name, ovl_strategies, ARRAY_SIZE(ovl_strategies)); in nl_str2ovl_strategy()
/external/libnl/lib/xfrm/
Dtemplate.c127 return __str2type (name, tmpl_modes, ARRAY_SIZE(tmpl_modes)); in xfrmnl_user_tmpl_str2mode()
Dsp.c221 return __str2type (name, sa_actions, ARRAY_SIZE(sa_actions)); in xfrmnl_sp_str2action()
263 return __str2type(name, sp_types, ARRAY_SIZE(sp_types)); in xfrmnl_sp_str2type()
285 return __str2type (name, sp_dir, ARRAY_SIZE(sp_dir)); in xfrmnl_sp_str2dir()
312 return __str2type (name, sp_share, ARRAY_SIZE(sp_share)); in xfrmnl_sp_str2share()
/external/libnl/include/netlink-private/
Dnetlink.h128 extern int __str2type(const char *, const struct trans_tbl *, size_t);
/external/libnl/
Dlibnl-3.sym14 __str2type;

12