Documentation
¶
Overview ¶
Package route provides the Cilium specific abstraction and useful helpers to manage network routes
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Route ¶
type Route struct {
Prefix net.IPNet
Nexthop *net.IP
Local net.IP
Device string
MTU int
Proto int
Scope netlink.Scope
Table int
Type int
}
func (*Route) ToIPCommand ¶
ToIPCommand converts the route into a full "ip route ..." command
Click to show internal directories.
Click to hide internal directories.