ipset

package
v5.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const PluginType = "ipset"

Variables

This section is empty.

Functions

func QuickSetup

func QuickSetup(_ sequence.BQ, s string) (any, error)

QuickSetup format: [set_name,{inet|inet6},mask] *2 e.g. "my_set,inet,24 my_set6,inet6,48"

Types

type Args

type Args struct {
	SetName4 string `yaml:"set_name4"`
	SetName6 string `yaml:"set_name6"`
	Mask4    int    `yaml:"mask4"` // default 24
	Mask6    int    `yaml:"mask6"` // default 32
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL