package
1.79.0-mod
Repository: https://github.com/sagernet/tailscale.git
Documentation: pkg.go.dev

# Functions

Get returns route entries from the system route table, limited to at most max results.

# Constants

RouteTypeBroadcast indicates that the destination of this route is a broadcast address.
RouteTypeLocal indicates that the destination of this route is an address that belongs to this system.
RouteTypeMulticast indicates that the destination of this route is a multicast address.
RouteTypeOther indicates that the route is of some other valid type; see the Sys field for the OS-provided route information to determine the exact type.
RouteTypeUnicast indicates that the destination of this route is a "regular" address--one that neither belongs to this host, nor is a broadcast/multicast/etc.
RouteTypeUnspecified is the unspecified route type.

# Structs

RouteDestination is the destination of a route.
RouteEntry contains common cross-platform fields describing an entry in the system route table.
RouteEntryLinux is the structure that makes up the Sys field of the RouteEntry structure.

# Type aliases

RouteType describes the type of a route.