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

void rtnl_link_set_addr ( struct rtnl_link *  link,
struct nl_addr *  addr 
)

Set link layer address

  • link link to change
  • addr new link layer address

Definition at line 1071 of file link.c.

{
      __assign_addr(link, &link->l_addr, addr, LINK_ATTR_ADDR);
}


Generated by  Doxygen 1.6.0   Back to index