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

void rtnl_rule_set_fwmark ( struct rtnl_rule *  rule,
uint64_t  fwmark 
)

Set the firewall mark of a rule to the specified value

  • rule rule to change
  • fwmark new firewall mark

Definition at line 633 of file rule.c.

{
      rule->r_fwmark = fwmark;
      rule->r_mask |= RULE_ATTR_FWMARK;
}


Generated by  Doxygen 1.6.0   Back to index