Documentation ¶
Index ¶
- type ProcSys
- func (p *ProcSys) IPv4EnableForwarding() error
- func (p *ProcSys) IPv4EnableRouteLocalNet(ifaceName string) error
- func (p *ProcSys) IPv4GetArpIgnore(ifaceName string) (procsys.ArpReplyMode, error)
- func (p *ProcSys) IPv4GetForwarding() (bool, error)
- func (p *ProcSys) IPv4GetPingGroupRange() (int, int, error)
- func (p *ProcSys) IPv4GetRouteLocalNet(ifaceName string) (bool, error)
- func (p *ProcSys) IPv4GetUnprivilegedPortStart() (int, error)
- func (p *ProcSys) IPv4SetArpIgnore(ifaceName string, mode procsys.ArpReplyMode) error
- func (p *ProcSys) IPv4SetPingGroupRange(from int, to int) error
- func (p *ProcSys) IPv4SetUnprivilegedPortStart(port int) error
- func (p *ProcSys) IPv6EnableForwarding() error
- func (p *ProcSys) IPv6GetForwarding() (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcSys ¶
type ProcSys struct {
// contains filtered or unexported fields
}
func (*ProcSys) IPv4EnableForwarding ¶
func (*ProcSys) IPv4EnableRouteLocalNet ¶
func (*ProcSys) IPv4GetArpIgnore ¶
func (p *ProcSys) IPv4GetArpIgnore(ifaceName string) (procsys.ArpReplyMode, error)
func (*ProcSys) IPv4GetForwarding ¶
func (*ProcSys) IPv4GetRouteLocalNet ¶
func (*ProcSys) IPv4GetUnprivilegedPortStart ¶
func (*ProcSys) IPv4SetArpIgnore ¶
func (p *ProcSys) IPv4SetArpIgnore(ifaceName string, mode procsys.ArpReplyMode) error
func (*ProcSys) IPv4SetPingGroupRange ¶
func (*ProcSys) IPv4SetUnprivilegedPortStart ¶
func (*ProcSys) IPv6EnableForwarding ¶
func (*ProcSys) IPv6GetForwarding ¶
Click to show internal directories.
Click to hide internal directories.