Home
last modified time | relevance | path

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

/external/libnl/lib/netfilter/
Dnetfilter.c33 return __str2type(name, nfnl_verdicts, ARRAY_SIZE(nfnl_verdicts)); in nfnl_str2verdict()
52 return __str2type(name, nfnl_inet_hooks, ARRAY_SIZE(nfnl_inet_hooks)); in nfnl_str2inet_hook()
Dqueue_obj.c70 return __str2type(name, copy_modes, ARRAY_SIZE(copy_modes)); in nfnl_queue_str2copy_mode()
Dlog_obj.c74 return __str2type(name, copy_modes, ARRAY_SIZE(copy_modes)); in nfnl_log_str2copy_mode()
Dct_obj.c480 return __str2type(name, tcp_states, ARRAY_SIZE(tcp_states)); in nfnl_ct_str2tcp_state()
/external/libnl/lib/route/
Drtnl.c82 return __str2type(name, rtntypes, ARRAY_SIZE(rtntypes)); in nl_str2rtntype()
107 return __str2type(name, scopes, ARRAY_SIZE(scopes)); in rtnl_str2scope()
Droute_utils.c166 return __str2type(name, route_metrices, ARRAY_SIZE(route_metrices)); in rtnl_route_str2metric()
Dneigh.c749 return __str2type(name, neigh_states, ARRAY_SIZE(neigh_states)); in rtnl_neigh_str2state()
773 return __str2type(name, neigh_flags, ARRAY_SIZE(neigh_flags)); in rtnl_neigh_str2flag()
Dlink.c2619 return __str2type(name, link_stats, ARRAY_SIZE(link_stats)); in rtnl_link_str2stat()
2640 return __str2type(name, link_operstates, in rtnl_link_str2operstate()
2661 return __str2type(name, link_modes, ARRAY_SIZE(link_modes)); in rtnl_link_str2mode()
2672 return __str2type(name, carrier_states, ARRAY_SIZE(carrier_states)); in rtnl_link_str2carrier()
/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/
Dutils.c633 return __str2type(name, nlfamilies, ARRAY_SIZE(nlfamilies)); in nl_str2nlfamily()
736 return __str2type(name, llprotos, ARRAY_SIZE(llprotos)); in nl_str2llproto()
827 return __str2type(name, ether_protos, ARRAY_SIZE(ether_protos)); in nl_str2ether_proto()
1036 int __str2type(const char *buf, const struct trans_tbl *tbl, size_t tbl_len) in __str2type() function
Daddr.c1075 int fam = __str2type(name, afs, ARRAY_SIZE(afs)); in nl_str2af()
Dmsg.c657 return __str2type(name, nl_msgtypes, ARRAY_SIZE(nl_msgtypes)); in nl_str2nlmsgtype()
/external/libnl/lib/route/qdisc/
Dcbq.c63 return __str2type(name, ovl_strategies, ARRAY_SIZE(ovl_strategies)); in nl_str2ovl_strategy()
Dprio.c253 return __str2type(name, prios, ARRAY_SIZE(prios)); in rtnl_str2prio()
/external/libnl/include/netlink-private/
Dnetlink.h126 extern int __str2type(const char *, const struct trans_tbl *, size_t);
/external/libnl/lib/route/link/
Dinet.c182 return __str2type(name, inet_devconf, ARRAY_SIZE(inet_devconf)); in rtnl_link_inet_str2devconf()
Dmacvlan.c352 return __str2type(name, macvlan_modes, ARRAY_SIZE(macvlan_modes)); in rtnl_link_macvlan_str2mode()
/external/libnl/
DChangeLog136 o Use __str2flags instead of __str2type in rtnl_link_str2flags()