summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-08-25 21:50:09 +0000
committergVisor bot <gvisor-bot@google.com>2020-08-25 21:50:09 +0000
commit09136251e1edc9c035dd5c0f9d5589dcf5889cf5 (patch)
tree70e629a7de130e101bb8e346b7b1217bfc34a343 /pkg/tcpip/tcpip.go
parentada06b97c31b0282d4cc77cf990c256f1805dfa7 (diff)
parent1f0d23c7ade25ebdcae9279e0a8054ef17474f46 (diff)
Merge release-20200818.0-49-g1f0d23c7a (automated)
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r--pkg/tcpip/tcpip.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go
index 44f87e007..609b8af33 100644
--- a/pkg/tcpip/tcpip.go
+++ b/pkg/tcpip/tcpip.go
@@ -1029,7 +1029,10 @@ func (r Route) String() string {
// TransportProtocolNumber is the number of a transport protocol.
type TransportProtocolNumber uint32
-// NetworkProtocolNumber is the number of a network protocol.
+// NetworkProtocolNumber is the EtherType of a network protocol in an Ethernet
+// frame.
+//
+// See: https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers.xhtml
type NetworkProtocolNumber uint32
// A StatCounter keeps track of a statistic.