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

void rtnl_rule_set_family ( struct rtnl_rule *  rule,
int  family 
)

Set the address family of a rule to the specified value

  • rule rule to change
  • family new address family

Definition at line 585 of file rule.c.

{
      rule->r_family = family;
      rule->r_mask |= RULE_ATTR_FAMILY;
}


Generated by  Doxygen 1.6.0   Back to index