 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
var ( // CommitBytes is the string "COMMIT" in bytes array CommitBytes = []byte("COMMIT") // SpaceBytes is white space in bytes array SpaceBytes = []byte(" ") // MinOptionLength indicates the minimum length of an option MinOptionLength = 2 )
Functions ¶
func Iptables ¶
func Iptables(tableName string) (*NPMIPtable.Table, error)
Iptables creates a Go object from specified iptable by calling iptables-save within node.
func IptablesFile ¶
func IptablesFile(tableName string, iptableSaveFile string) (*NPMIPtable.Table, error)
IptablesFile creates a Go object from specified iptable by reading from an iptables-save file.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.