summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/stack_state_autogen.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-04-20 16:38:23 +0000
committergVisor bot <gvisor-bot@google.com>2021-04-20 16:38:23 +0000
commit54422516dff22248de676ddca1fb4176e661491c (patch)
tree50fe32b0a3c798ab186f9fab2afcf8e49af92e86 /pkg/tcpip/stack/stack_state_autogen.go
parent908e108fd49d40e9a90170156bf10a855b6414c4 (diff)
parent3fff4c4a0fbb1b132348d4b82f61cc38a4cc6cb2 (diff)
Merge release-20210412.0-37-g3fff4c4a0 (automated)
Diffstat (limited to 'pkg/tcpip/stack/stack_state_autogen.go')
-rw-r--r--pkg/tcpip/stack/stack_state_autogen.go15
1 files changed, 6 insertions, 9 deletions
diff --git a/pkg/tcpip/stack/stack_state_autogen.go b/pkg/tcpip/stack/stack_state_autogen.go
index 4c1133f2b..a803f9992 100644
--- a/pkg/tcpip/stack/stack_state_autogen.go
+++ b/pkg/tcpip/stack/stack_state_autogen.go
@@ -1017,7 +1017,6 @@ func (t *TCPRcvBufState) StateTypeName() string {
func (t *TCPRcvBufState) StateFields() []string {
return []string{
- "RcvBufSize",
"RcvBufUsed",
"RcvAutoParams",
"RcvClosed",
@@ -1029,20 +1028,18 @@ func (t *TCPRcvBufState) beforeSave() {}
// +checklocksignore
func (t *TCPRcvBufState) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
- stateSinkObject.Save(0, &t.RcvBufSize)
- stateSinkObject.Save(1, &t.RcvBufUsed)
- stateSinkObject.Save(2, &t.RcvAutoParams)
- stateSinkObject.Save(3, &t.RcvClosed)
+ stateSinkObject.Save(0, &t.RcvBufUsed)
+ stateSinkObject.Save(1, &t.RcvAutoParams)
+ stateSinkObject.Save(2, &t.RcvClosed)
}
func (t *TCPRcvBufState) afterLoad() {}
// +checklocksignore
func (t *TCPRcvBufState) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &t.RcvBufSize)
- stateSourceObject.Load(1, &t.RcvBufUsed)
- stateSourceObject.Load(2, &t.RcvAutoParams)
- stateSourceObject.Load(3, &t.RcvClosed)
+ stateSourceObject.Load(0, &t.RcvBufUsed)
+ stateSourceObject.Load(1, &t.RcvAutoParams)
+ stateSourceObject.Load(2, &t.RcvClosed)
}
func (t *TCPSndBufState) StateTypeName() string {