Documentation
¶
Overview ¶
Package netbind resolves operator-friendly local-address specifications for connections that must bypass a host TUN route.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDynamic ¶ added in v0.3.0
IsDynamic reports whether resolving spec depends on live interface state. Literal addresses are stable configuration; automatic and interface-bound specifications can disappear and reappear as links change.
func Resolve ¶
Resolve returns the address selected by a literal IP, "if:NAME", or "auto". Automatic and interface modes deliberately consider only IPv4 addresses on active, non-loopback, non-point-to-point interfaces. Excluding point-to-point interfaces prevents a Clash or other host TUN from being selected as the outer path. Ambiguity is reported instead of guessing.
Types ¶
This section is empty.