Documentation ¶
Index ¶
Constants ¶
View Source
const ( RouteFlagUp = 1 << iota RouteFlagGateway RouteFlagHost )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultRouteInfo ¶
func GetDefaultRoute ¶
func GetDefaultRoute() (*DefaultRouteInfo, error)
type ResolverConfiguration ¶
func GetResolverConfiguration ¶
func GetResolverConfiguration() (*ResolverConfiguration, error)
type RouteEntry ¶
type RouteTable ¶
type RouteTable struct { DefaultRoute *DefaultRouteInfo RouteEntries []*RouteEntry }
func GetRouteTable ¶
func GetRouteTable() (*RouteTable, error)
Click to show internal directories.
Click to hide internal directories.