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

void rtnl_rule_set_action ( struct rtnl_rule *  rule,
int  type 

Set action of routing rule object.

  • rule Routing rule object to be modified.
  • type New routing type specifying an action.

Definition at line 873 of file rule.c.

      rule->r_type = type;
      rule->r_mask |= RULE_ATTR_TYPE;

Generated by  Doxygen 1.6.0   Back to index