Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompareInterfaceName ¶
CompareInterfaceName compare name from given current and prev by directory order example: net1 > eth0, true net2 > net1, true
func GetRuleNumber ¶
GetRuleNumber return the number of rule table corresponding to the previous interface from the given interface. the input format must be 'net+number' for example: input: net1, output: 100(eth0) input: net2, output: 101(net1)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.