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

struct nl_addr* rtnl_link_get_broadcast ( struct rtnl_link *  link  )  [read]

Get link layer broadcast address

  • link link handle
    Returns:
    Link layer broadcast address or NULL if not set

Definition at line 1108 of file link.c.

{
      if (link->l_mask & LINK_ATTR_BRD)
            return link->l_bcast;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index