summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/buffer
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-08 01:32:17 +0000
commit8f70c8003e9d132fc766ed7d92ce805c093d518b (patch)
tree6d77a3246e3f04605790d410e7630cb910704ced /pkg/tcpip/buffer
parent8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff)
parenta55bd73d4802112a7055de8663e947b9c0f42a2e (diff)
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'pkg/tcpip/buffer')
-rw-r--r--pkg/tcpip/buffer/buffer_state_autogen.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/pkg/tcpip/buffer/buffer_state_autogen.go b/pkg/tcpip/buffer/buffer_state_autogen.go
index 67db6f4d9..8ce4b4c2c 100644
--- a/pkg/tcpip/buffer/buffer_state_autogen.go
+++ b/pkg/tcpip/buffer/buffer_state_autogen.go
@@ -6,30 +6,30 @@ import (
"gvisor.dev/gvisor/pkg/state"
)
-func (x *VectorisedView) StateTypeName() string {
+func (v *VectorisedView) StateTypeName() string {
return "pkg/tcpip/buffer.VectorisedView"
}
-func (x *VectorisedView) StateFields() []string {
+func (v *VectorisedView) StateFields() []string {
return []string{
"views",
"size",
}
}
-func (x *VectorisedView) beforeSave() {}
+func (v *VectorisedView) beforeSave() {}
-func (x *VectorisedView) StateSave(m state.Sink) {
- x.beforeSave()
- m.Save(0, &x.views)
- m.Save(1, &x.size)
+func (v *VectorisedView) StateSave(stateSinkObject state.Sink) {
+ v.beforeSave()
+ stateSinkObject.Save(0, &v.views)
+ stateSinkObject.Save(1, &v.size)
}
-func (x *VectorisedView) afterLoad() {}
+func (v *VectorisedView) afterLoad() {}
-func (x *VectorisedView) StateLoad(m state.Source) {
- m.Load(0, &x.views)
- m.Load(1, &x.size)
+func (v *VectorisedView) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &v.views)
+ stateSourceObject.Load(1, &v.size)
}
func init() {