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

void rtnl_link_set_broadcast ( struct rtnl_link *  link,
struct nl_addr *  brd 

Set link layer broadcast address

  • link link to change
  • brd new link layer broadcast address
Assigns the new broadcast address to the specified link handle.

The prefix length of the address will be ignored.

Definition at line 1098 of file link.c.

      __assign_addr(link, &link->l_bcast, brd, LINK_ATTR_BRD);

Generated by  Doxygen 1.6.0   Back to index