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

struct nl_addr* rtnl_addr_get_local ( struct rtnl_addr *  addr  )  [read]

Get local address of address object.

  • addr Address object.
    Returns:
    Local address or NULL if not set.

Definition at line 977 of file addr.c.

{
      if (addr->a_mask & ADDR_ATTR_LOCAL)
            return addr->a_local;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index