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

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

Get broadcast address of address object.

  • addr Address object.
    Broadcast address or NULL if not set.

Definition at line 1046 of file addr.c.

      if (addr->a_mask & ADDR_ATTR_BROADCAST)
            return addr->a_bcast;
            return NULL;

Generated by  Doxygen 1.6.0   Back to index