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

struct nl_addr* nl_addr_get ( struct nl_addr *  addr  )  [read]

Request undestroyable reference of abstract address object.

  • addr Abstract address object.
    Returns:
    Abstract address object of which the reference was given.

Definition at line 451 of file addr.c.

Referenced by flnl_request_set_addr(), rtnl_route_set_dst(), rtnl_route_set_gateway(), rtnl_route_set_pref_src(), and rtnl_route_set_src().

{
      addr->a_refcnt++;

      return addr;
}


Generated by  Doxygen 1.6.0   Back to index