Documentation
¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const (
DefaultRouteMetric int = 256
)
Variables ¶
This section is empty.
Functions ¶
func NewNetRouteForInterface ¶
func NewNetRouteForInterface(ifaceIndex int, destinationSubnet net.IPNet, nextHop net.IP) (err error)
NewNetRouteForInterface creates a new route for given interface.
func RemoveNetRoutes ¶
RemoveNetRoutes returns given destination subnet routes.
Types ¶
type Route ¶
func GetNetRoutesForInterface ¶
GetNetRoutesForInterface returns nets routes for given interface index and destination subnet.
Click to show internal directories.
Click to hide internal directories.