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

void rtnl_link_set_weight ( struct rtnl_link *  link,
unsigned int  weight 
)

Set Weight

  • link link to change
  • weight new weight

Definition at line 1253 of file link.c.

{
      link->l_weight = weight;
      link->l_mask |= LINK_ATTR_WEIGHT;
}


Generated by  Doxygen 1.6.0   Back to index