Documentation ¶
Index ¶
- type PacketFilter
- func (i *PacketFilter) AddFailOnAddEntryMatchers(stringOrMatcher interface{})
- func (i *PacketFilter) AddFailOnAppendRuleMatcher(stringOrMatcher interface{})
- func (i *PacketFilter) AddFailOnCreateSetMatchers(stringOrMatcher interface{})
- func (i *PacketFilter) AddFailOnDelEntryMatchers(stringOrMatcher interface{})
- func (i *PacketFilter) AddFailOnDeleteRuleMatcher(stringOrMatcher interface{})
- func (i *PacketFilter) AddFailOnDestroySetMatchers(stringOrMatcher interface{})
- func (i *PacketFilter) Append(table packetfilter.TableType, chain string, rule *packetfilter.Rule) error
- func (i *PacketFilter) AppendUnique(table packetfilter.TableType, chain string, rule *packetfilter.Rule) error
- func (i *PacketFilter) AwaitChain(table packetfilter.TableType, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitEntry(setName string, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitEntryDeleted(setName string, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitIPHookChain(chainType packetfilter.ChainType, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitNoChain(table packetfilter.TableType, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitNoEntry(setName string, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitNoIPHookChain(chainType packetfilter.ChainType, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitNoRule(table packetfilter.TableType, chain string, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitNoRules(table packetfilter.TableType, chain string)
- func (i *PacketFilter) AwaitOneSet(stringOrMatcher interface{}) string
- func (i *PacketFilter) AwaitRule(table packetfilter.TableType, chain string, stringOrMatcher interface{})
- func (i *PacketFilter) AwaitSet(stringOrMatcher interface{})
- func (i *PacketFilter) AwaitSetDeleted(setName string)
- func (i *PacketFilter) ChainExists(table packetfilter.TableType, chain string) (bool, error)
- func (i *PacketFilter) ClearChain(table packetfilter.TableType, chain string) error
- func (i *PacketFilter) CreateChainIfNotExists(table packetfilter.TableType, chain *packetfilter.Chain) error
- func (i *PacketFilter) CreateIPHookChainIfNotExists(chain *packetfilter.ChainIPHook) error
- func (i *PacketFilter) Delete(table packetfilter.TableType, chain string, rule *packetfilter.Rule) error
- func (i *PacketFilter) DeleteChain(table packetfilter.TableType, chain string) error
- func (i *PacketFilter) DeleteIPHookChain(chain *packetfilter.ChainIPHook) error
- func (i *PacketFilter) DestroySets(nameFilter func(string) bool) error
- func (i *PacketFilter) EnsureNoRule(table packetfilter.TableType, chain string, stringOrMatcher interface{})
- func (i *PacketFilter) Insert(table packetfilter.TableType, chain string, pos int, rule *packetfilter.Rule) error
- func (i *PacketFilter) List(table packetfilter.TableType, chain string) ([]*packetfilter.Rule, error)
- func (i *PacketFilter) NewNamedSet(setInfo *packetfilter.SetInfo) packetfilter.NamedSet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PacketFilter ¶
type PacketFilter struct {
// contains filtered or unexported fields
}
func New ¶
func New() *PacketFilter
func (*PacketFilter) AddFailOnAddEntryMatchers ¶
func (i *PacketFilter) AddFailOnAddEntryMatchers(stringOrMatcher interface{})
func (*PacketFilter) AddFailOnAppendRuleMatcher ¶
func (i *PacketFilter) AddFailOnAppendRuleMatcher(stringOrMatcher interface{})
func (*PacketFilter) AddFailOnCreateSetMatchers ¶
func (i *PacketFilter) AddFailOnCreateSetMatchers(stringOrMatcher interface{})
func (*PacketFilter) AddFailOnDelEntryMatchers ¶
func (i *PacketFilter) AddFailOnDelEntryMatchers(stringOrMatcher interface{})
func (*PacketFilter) AddFailOnDeleteRuleMatcher ¶
func (i *PacketFilter) AddFailOnDeleteRuleMatcher(stringOrMatcher interface{})
func (*PacketFilter) AddFailOnDestroySetMatchers ¶
func (i *PacketFilter) AddFailOnDestroySetMatchers(stringOrMatcher interface{})
func (*PacketFilter) Append ¶
func (i *PacketFilter) Append(table packetfilter.TableType, chain string, rule *packetfilter.Rule) error
func (*PacketFilter) AppendUnique ¶
func (i *PacketFilter) AppendUnique(table packetfilter.TableType, chain string, rule *packetfilter.Rule) error
func (*PacketFilter) AwaitChain ¶
func (i *PacketFilter) AwaitChain(table packetfilter.TableType, stringOrMatcher interface{})
func (*PacketFilter) AwaitEntry ¶
func (i *PacketFilter) AwaitEntry(setName string, stringOrMatcher interface{})
func (*PacketFilter) AwaitEntryDeleted ¶
func (i *PacketFilter) AwaitEntryDeleted(setName string, stringOrMatcher interface{})
func (*PacketFilter) AwaitIPHookChain ¶
func (i *PacketFilter) AwaitIPHookChain(chainType packetfilter.ChainType, stringOrMatcher interface{})
func (*PacketFilter) AwaitNoChain ¶
func (i *PacketFilter) AwaitNoChain(table packetfilter.TableType, stringOrMatcher interface{})
func (*PacketFilter) AwaitNoEntry ¶
func (i *PacketFilter) AwaitNoEntry(setName string, stringOrMatcher interface{})
func (*PacketFilter) AwaitNoIPHookChain ¶
func (i *PacketFilter) AwaitNoIPHookChain(chainType packetfilter.ChainType, stringOrMatcher interface{})
func (*PacketFilter) AwaitNoRule ¶
func (i *PacketFilter) AwaitNoRule(table packetfilter.TableType, chain string, stringOrMatcher interface{})
func (*PacketFilter) AwaitNoRules ¶
func (i *PacketFilter) AwaitNoRules(table packetfilter.TableType, chain string)
func (*PacketFilter) AwaitOneSet ¶
func (i *PacketFilter) AwaitOneSet(stringOrMatcher interface{}) string
func (*PacketFilter) AwaitRule ¶
func (i *PacketFilter) AwaitRule(table packetfilter.TableType, chain string, stringOrMatcher interface{})
func (*PacketFilter) AwaitSet ¶
func (i *PacketFilter) AwaitSet(stringOrMatcher interface{})
func (*PacketFilter) AwaitSetDeleted ¶
func (i *PacketFilter) AwaitSetDeleted(setName string)
func (*PacketFilter) ChainExists ¶
func (i *PacketFilter) ChainExists(table packetfilter.TableType, chain string) (bool, error)
func (*PacketFilter) ClearChain ¶
func (i *PacketFilter) ClearChain(table packetfilter.TableType, chain string) error
func (*PacketFilter) CreateChainIfNotExists ¶
func (i *PacketFilter) CreateChainIfNotExists(table packetfilter.TableType, chain *packetfilter.Chain) error
func (*PacketFilter) CreateIPHookChainIfNotExists ¶
func (i *PacketFilter) CreateIPHookChainIfNotExists(chain *packetfilter.ChainIPHook) error
func (*PacketFilter) Delete ¶
func (i *PacketFilter) Delete(table packetfilter.TableType, chain string, rule *packetfilter.Rule) error
func (*PacketFilter) DeleteChain ¶
func (i *PacketFilter) DeleteChain(table packetfilter.TableType, chain string) error
func (*PacketFilter) DeleteIPHookChain ¶
func (i *PacketFilter) DeleteIPHookChain(chain *packetfilter.ChainIPHook) error
func (*PacketFilter) DestroySets ¶
func (i *PacketFilter) DestroySets(nameFilter func(string) bool) error
func (*PacketFilter) EnsureNoRule ¶
func (i *PacketFilter) EnsureNoRule(table packetfilter.TableType, chain string, stringOrMatcher interface{})
func (*PacketFilter) Insert ¶
func (i *PacketFilter) Insert(table packetfilter.TableType, chain string, pos int, rule *packetfilter.Rule) error
func (*PacketFilter) List ¶
func (i *PacketFilter) List(table packetfilter.TableType, chain string) ([]*packetfilter.Rule, error)
func (*PacketFilter) NewNamedSet ¶
func (i *PacketFilter) NewNamedSet(setInfo *packetfilter.SetInfo) packetfilter.NamedSet
Click to show internal directories.
Click to hide internal directories.