Home
last modified time | relevance | path

Searched refs:af_ops (Results 1 – 2 of 2) sorted by relevance

/external/libnl/lib/route/link/
Dapi.c182 static struct rtnl_link_af_ops *af_ops[AF_MAX]; variable
198 if (af_ops[family]) in rtnl_link_af_ops_lookup()
199 af_ops[family]->ao_refcnt++; in rtnl_link_af_ops_lookup()
202 return af_ops[family]; in rtnl_link_af_ops_lookup()
293 if (af_ops[ops->ao_family]) { in rtnl_link_af_register()
299 af_ops[ops->ao_family] = ops; in rtnl_link_af_register()
332 if (!af_ops[ops->ao_family]) { in rtnl_link_af_unregister()
342 af_ops[ops->ao_family] = NULL; in rtnl_link_af_unregister()
368 struct rtnl_link_af_ops *af_ops; in rtnl_link_af_data_compare() local
377 af_ops = rtnl_link_af_ops_lookup(family); in rtnl_link_af_data_compare()
[all …]
/external/libnl/lib/route/
Dlink.c72 struct rtnl_link_af_ops *af_ops; in af_lookup_and_alloc() local
75 af_ops = rtnl_link_af_ops_lookup(family); in af_lookup_and_alloc()
76 if (!af_ops) in af_lookup_and_alloc()
79 if (!(data = rtnl_link_af_alloc(link, af_ops))) { in af_lookup_and_alloc()
80 rtnl_link_af_ops_put(af_ops); in af_lookup_and_alloc()
84 return af_ops; in af_lookup_and_alloc()
484 struct rtnl_link_af_ops *af_ops = NULL; in link_msg_parser() local
511 if ((af_ops = af_lookup_and_alloc(link, family))) { in link_msg_parser()
512 if (af_ops->ao_protinfo_policy) { in link_msg_parser()
514 af_ops->ao_protinfo_policy, in link_msg_parser()
[all …]