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

realm_t rtnl_rule_get_realms ( struct rtnl_rule *  rule  ) 

Get realms of routing rule object.

  • rule Routing rule object.
    Returns:
    Realms value or 0 if not set.

Definition at line 908 of file rule.c.

{
      if (rule->r_mask & RULE_ATTR_REALMS)
            return rule->r_realms;
      else
            return 0;
}


Generated by  Doxygen 1.6.0   Back to index