diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-13 02:42:15 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-13 02:42:15 +0000 |
commit | 77f5e9c854ade3ac6c0b602ed338800f61bd6184 (patch) | |
tree | f57546768cafc7aac85db169fb2c8c3253c2ef36 /pkg/tcpip/stack/registration.go | |
parent | 4ad47eb13ee2d819e61b97c796e844cee75a60c5 (diff) | |
parent | 638d64c6337d05b91f0bde81de8e1c8d6d9908d8 (diff) |
Merge release-20201030.0-80-g638d64c63 (automated)
Diffstat (limited to 'pkg/tcpip/stack/registration.go')
-rw-r--r-- | pkg/tcpip/stack/registration.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/registration.go b/pkg/tcpip/stack/registration.go index 1b1603bee..79d024662 100644 --- a/pkg/tcpip/stack/registration.go +++ b/pkg/tcpip/stack/registration.go @@ -262,10 +262,10 @@ const ( // NetOptions is an interface that allows us to pass network protocol specific // options through the Stack layer code. type NetOptions interface { - // AllocationSize returns the amount of memory that must be allocated to + // 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. - AllocationSize() int + SizeWithPadding() int } // NetworkHeaderParams are the header parameters given as input by the |