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

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

Get peer address of address object.

  • addr Adress object.
    Returns:
    Peer address or NULL if not set.

Definition at line 1014 of file addr.c.

{
      if (addr->a_mask & ADDR_ATTR_PEER)
            return addr->a_peer;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index