Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

void nl_object_get ( struct nl_object *  obj  ) 

Acquire a reference on a object

  • obj object to acquire reference from

Definition at line 162 of file object.c.

Referenced by genl_ctrl_search(), genl_ctrl_search_by_name(), nl_cache_add(), nl_cache_move(), nl_cache_search(), rtnl_class_get(), rtnl_link_get(), rtnl_link_get_by_name(), rtnl_neigh_get(), rtnl_neightbl_get(), rtnl_qdisc_get(), and rtnl_qdisc_get_by_parent().

{
      obj->ce_refcnt++;
      NL_DBG(4, "New reference to object %p, total %d\n",
             obj, obj->ce_refcnt);
}


Generated by  Doxygen 1.6.0   Back to index