IPRoutingRule


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "1.18" ) ]
public IPRoutingRule (int addr_family)

Parameters:

addr_family

the address family of the routing rule. Must be either af_inet (2) or af_inet6 (10).

Returns:

a newly created rule instance with the provided address family. The instance is unsealed.