package
0.0.0-20220214151720-7585b01ddccf
Repository: https://github.com/inetaf/netstack.git
Documentation: pkg.go.dev
# Functions
NewPortManager creates new PortManager.
# Constants
FlagMask is a bit mask for BitFlags.
LoadBalancedFlag represents Flags.LoadBalanced.
MostRecentFlag represents Flags.MostRecent.
MultiBindFlagMask contains the flags that allow binding the same tuple multiple times.
TupleOnlyFlag represents Flags.TupleOnly.
# Structs
FlagCounter counts how many references each flag combination has.
Flags represents the type of port reservation.
PortManager manages allocating, reserving and releasing ports.
Reservation describes a port reservation.
# Type aliases
BitFlags is a bitset representation of Flags.
PortTester indicates whether the passed in port is suitable.