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

char* rtnl_rule_get_iif ( struct rtnl_rule *  rule  ) 

Get incoming interface of routing rule object.

  • rule Routing rule object.
    Returns:
    Name of incoming interface or NULL if not available.

Definition at line 860 of file rule.c.

{
      if (rule->r_mask & RULE_ATTR_IIF)
            return rule->r_iif;
      else
            return NULL;
}


Generated by  Doxygen 1.6.0   Back to index