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

int rtnl_rule_get_action ( struct rtnl_rule *  rule  ) 

Get action of routing rule object.

  • rule Routing rule object.
    Routing type or a negative error code.

Definition at line 884 of file rule.c.

      if (rule->r_mask & RULE_ATTR_TYPE)
            return rule->r_type;
            return nl_errno(ENOENT);

Generated by  Doxygen 1.6.0   Back to index