mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
route: tweak comment on metric types
Change-Id: I9fb463a5b26e79073a3efc06eea13fd8fcdbf021 Reviewed-on: https://go-review.googlesource.com/50190 Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
@@ -13,7 +13,7 @@ func (typ RIBType) parseable() bool {
|
||||
}
|
||||
}
|
||||
|
||||
// A RouteMetrics represents route metrics.
|
||||
// RouteMetrics represents route metrics.
|
||||
type RouteMetrics struct {
|
||||
PathMTU int // path maximum transmission unit
|
||||
}
|
||||
@@ -30,7 +30,7 @@ func (m *RouteMessage) Sys() []Sys {
|
||||
}
|
||||
}
|
||||
|
||||
// A InterfaceMetrics represents interface metrics.
|
||||
// InterfaceMetrics represents interface metrics.
|
||||
type InterfaceMetrics struct {
|
||||
Type int // interface type
|
||||
MTU int // maximum transmission unit
|
||||
|
||||
@@ -8,7 +8,7 @@ import "unsafe"
|
||||
|
||||
func (typ RIBType) parseable() bool { return true }
|
||||
|
||||
// A RouteMetrics represents route metrics.
|
||||
// RouteMetrics represents route metrics.
|
||||
type RouteMetrics struct {
|
||||
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 int // interface type
|
||||
MTU int // maximum transmission unit
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
|
||||
func (typ RIBType) parseable() bool { return true }
|
||||
|
||||
// A RouteMetrics represents route metrics.
|
||||
// RouteMetrics represents route metrics.
|
||||
type RouteMetrics struct {
|
||||
PathMTU int // path maximum transmission unit
|
||||
}
|
||||
@@ -35,7 +35,7 @@ func (m *RouteMessage) Sys() []Sys {
|
||||
}
|
||||
}
|
||||
|
||||
// A InterfaceMetrics represents interface metrics.
|
||||
// InterfaceMetrics represents interface metrics.
|
||||
type InterfaceMetrics struct {
|
||||
Type int // interface type
|
||||
MTU int // maximum transmission unit
|
||||
|
||||
@@ -6,7 +6,7 @@ package route
|
||||
|
||||
func (typ RIBType) parseable() bool { return true }
|
||||
|
||||
// A RouteMetrics represents route metrics.
|
||||
// RouteMetrics represents route metrics.
|
||||
type RouteMetrics struct {
|
||||
PathMTU int // path maximum transmission unit
|
||||
}
|
||||
@@ -23,7 +23,7 @@ func (m *RouteMessage) Sys() []Sys {
|
||||
}
|
||||
}
|
||||
|
||||
// A InterfaceMetrics represents interface metrics.
|
||||
// RouteMetrics represents route metrics.
|
||||
type InterfaceMetrics struct {
|
||||
Type int // interface type
|
||||
MTU int // maximum transmission unit
|
||||
|
||||
@@ -15,7 +15,7 @@ func (typ RIBType) parseable() bool {
|
||||
}
|
||||
}
|
||||
|
||||
// A RouteMetrics represents route metrics.
|
||||
// RouteMetrics represents route metrics.
|
||||
type RouteMetrics struct {
|
||||
PathMTU int // path maximum transmission unit
|
||||
}
|
||||
@@ -32,7 +32,7 @@ func (m *RouteMessage) Sys() []Sys {
|
||||
}
|
||||
}
|
||||
|
||||
// A InterfaceMetrics represents interface metrics.
|
||||
// InterfaceMetrics represents interface metrics.
|
||||
type InterfaceMetrics struct {
|
||||
Type int // interface type
|
||||
MTU int // maximum transmission unit
|
||||
|
||||
Reference in New Issue
Block a user