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

void rtnl_rule_set_prio ( struct rtnl_rule *  rule,
int  prio 
)

Set the priority of a rule to the specified value

  • rule rule to change
  • prio new priority

Definition at line 609 of file rule.c.

{
      rule->r_prio = prio;
      rule->r_mask |= RULE_ATTR_PRIO;
}


Generated by  Doxygen 1.6.0   Back to index