add_routing_rule
Description:
Appends a new routing-rule and associated information to the setting.
The given routing rules gets sealed and the reference count is incremented. The function does not check whether an identical rule already exists and always appends the rule to the end of the list.
Parameters:
this |
the SettingIPConfig |
routing_rule |
the IPRoutingRule to add. The address family of the added rule must be compatible with the setting. |