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 ¶
Directories ¶
Path | Synopsis |
---|---|
pkg/utils/hwaddr |
- Version
- v0.5.0
- Published
- Mar 6, 2017
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 17 hours ago –
Tools for package owners.