sysctl

package
v0.8.10 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetLocalPortRange

func SetLocalPortRange(min, max uint16) func() error

SetLocalPortRange will change the range of local ports available for udp/tcp sockets

IPv6 stack is using this setting as well ref. https://tldp.org/HOWTO/Linux+IPv6-HOWTO/ch11s03.html

func SetUnprivilegedPortStart

func SetUnprivilegedPortStart(value uint16) func() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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