Commit ab548507 authored by Mikio Hara's avatar Mikio Hara

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: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 7b7efd80
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment