|
@@ -8,7 +8,7 @@ import "unsafe"
|
|
|
|
|
|
|
|
func (typ RIBType) parseable() bool { return true }
|
|
func (typ RIBType) parseable() bool { return true }
|
|
|
|
|
|
|
|
-// A RouteMetrics represents route metrics.
|
|
|
|
|
|
|
+// RouteMetrics represents route metrics.
|
|
|
type RouteMetrics struct {
|
|
type RouteMetrics struct {
|
|
|
PathMTU int // path maximum transmission unit
|
|
PathMTU int // path maximum transmission unit
|
|
|
}
|
|
}
|
|
@@ -25,7 +25,7 @@ func (m *RouteMessage) Sys() []Sys {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-// A InterfaceMetrics represents interface metrics.
|
|
|
|
|
|
|
+// InterfaceMetrics represents interface metrics.
|
|
|
type InterfaceMetrics struct {
|
|
type InterfaceMetrics struct {
|
|
|
Type int // interface type
|
|
Type int // interface type
|
|
|
MTU int // maximum transmission unit
|
|
MTU int // maximum transmission unit
|