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

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

Get anycast address of address object.

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

Definition at line 1079 of file addr.c.

{
      if (addr->a_mask & ADDR_ATTR_ANYCAST)
            return addr->a_anycast;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index