Documentation ¶
Overview ¶
Package ipfilter wraps iptables commands and is used to setup Syntropy releated rules
Index ¶
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, error)
func (*PacketFilter) Close ¶
func (pf *PacketFilter) Close() error
func (*PacketFilter) CreateChain ¶
func (pf *PacketFilter) CreateChain() error
func (*PacketFilter) Flush ¶
func (pf *PacketFilter) Flush()
func (*PacketFilter) ForwardEnable ¶
func (pf *PacketFilter) ForwardEnable(ifname string) error
Click to show internal directories.
Click to hide internal directories.