diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-08 01:32:17 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-08 01:32:17 +0000 |
commit | 8f70c8003e9d132fc766ed7d92ce805c093d518b (patch) | |
tree | 6d77a3246e3f04605790d410e7630cb910704ced /pkg/tcpip/network | |
parent | 8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff) | |
parent | a55bd73d4802112a7055de8663e947b9c0f42a2e (diff) |
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'pkg/tcpip/network')
-rw-r--r-- | pkg/tcpip/network/fragmentation/fragmentation_state_autogen.go | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/pkg/tcpip/network/fragmentation/fragmentation_state_autogen.go b/pkg/tcpip/network/fragmentation/fragmentation_state_autogen.go index 780ddfdc3..22324ce1c 100644 --- a/pkg/tcpip/network/fragmentation/fragmentation_state_autogen.go +++ b/pkg/tcpip/network/fragmentation/fragmentation_state_autogen.go @@ -6,56 +6,56 @@ import ( "gvisor.dev/gvisor/pkg/state" ) -func (x *reassemblerList) StateTypeName() string { +func (r *reassemblerList) StateTypeName() string { return "pkg/tcpip/network/fragmentation.reassemblerList" } -func (x *reassemblerList) StateFields() []string { +func (r *reassemblerList) StateFields() []string { return []string{ "head", "tail", } } -func (x *reassemblerList) beforeSave() {} +func (r *reassemblerList) beforeSave() {} -func (x *reassemblerList) StateSave(m state.Sink) { - x.beforeSave() - m.Save(0, &x.head) - m.Save(1, &x.tail) +func (r *reassemblerList) StateSave(stateSinkObject state.Sink) { + r.beforeSave() + stateSinkObject.Save(0, &r.head) + stateSinkObject.Save(1, &r.tail) } -func (x *reassemblerList) afterLoad() {} +func (r *reassemblerList) afterLoad() {} -func (x *reassemblerList) StateLoad(m state.Source) { - m.Load(0, &x.head) - m.Load(1, &x.tail) +func (r *reassemblerList) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &r.head) + stateSourceObject.Load(1, &r.tail) } -func (x *reassemblerEntry) StateTypeName() string { +func (r *reassemblerEntry) StateTypeName() string { return "pkg/tcpip/network/fragmentation.reassemblerEntry" } -func (x *reassemblerEntry) StateFields() []string { +func (r *reassemblerEntry) StateFields() []string { return []string{ "next", "prev", } } -func (x *reassemblerEntry) beforeSave() {} +func (r *reassemblerEntry) beforeSave() {} -func (x *reassemblerEntry) StateSave(m state.Sink) { - x.beforeSave() - m.Save(0, &x.next) - m.Save(1, &x.prev) +func (r *reassemblerEntry) StateSave(stateSinkObject state.Sink) { + r.beforeSave() + stateSinkObject.Save(0, &r.next) + stateSinkObject.Save(1, &r.prev) } -func (x *reassemblerEntry) afterLoad() {} +func (r *reassemblerEntry) afterLoad() {} -func (x *reassemblerEntry) StateLoad(m state.Source) { - m.Load(0, &x.next) - m.Load(1, &x.prev) +func (r *reassemblerEntry) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &r.next) + stateSourceObject.Load(1, &r.prev) } func init() { |