diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-12-04 18:14:07 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-12-04 18:14:07 +0000 |
commit | 588cab496fb55cf6ed8ef2bdde930a03e3916490 (patch) | |
tree | a6a6fb911da6dfc91b251f4603bf14960ca99345 /pkg/tcpip/stack | |
parent | 95b3e48dcc08f89eda10592457d01f377b837dea (diff) | |
parent | fd28ccfaa48a6b4c15aedb2bdd490211589c42d7 (diff) |
Merge release-20201130.0-39-gfd28ccfaa (automated)
Diffstat (limited to 'pkg/tcpip/stack')
-rw-r--r-- | pkg/tcpip/stack/registration.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pkg/tcpip/stack/registration.go b/pkg/tcpip/stack/registration.go index 236e4e4c7..b334e27c4 100644 --- a/pkg/tcpip/stack/registration.go +++ b/pkg/tcpip/stack/registration.go @@ -259,15 +259,6 @@ const ( PacketLoop ) -// NetOptions is an interface that allows us to pass network protocol specific -// options through the Stack layer code. -type NetOptions interface { - // SizeWithPadding returns the amount of memory that must be allocated to - // hold the options given that the value must be rounded up to the next - // multiple of 4 bytes. - SizeWithPadding() int -} - // NetworkHeaderParams are the header parameters given as input by the // transport endpoint to the network. type NetworkHeaderParams struct { @@ -279,10 +270,6 @@ type NetworkHeaderParams struct { // TOS refers to TypeOfService or TrafficClass field of the IP-header. TOS uint8 - - // Options is a set of options to add to a network header (or nil). - // It will be protocol specific opaque information from higher layers. - Options NetOptions } // GroupAddressableEndpoint is an endpoint that supports group addressing. |