Documentation ¶
Overview ¶
Package kernel provides functions to interact with the kernel.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableRtFilter ¶
func DisableRtFilter() error
DisableRtFilter disables the Reverse Path Filtering on the host.
func EnableIPForwarding ¶
func EnableIPForwarding() error
EnableIPForwarding enables IP forwarding on the host. It writes 1 to /proc/sys/net/ipv4/ip_forward.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.