package utils
import "github.com/containernetworking/cni/pkg/utils"
Index ¶
- func FormatChainName(name string, id string) string
- func FormatComment(name string, id string) string
Functions ¶
func FormatChainName ¶
Generates a chain name to be used with iptables. Ensures that the generated chain name is exactly maxChainLength chars in length
func FormatComment ¶
FormatComment returns a comment used for easier rule identification within iptables.
Source Files ¶
- Version
- v0.3.0
- Published
- Jun 2, 2016
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 2 days ago –
Tools for package owners.