summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netlink/port
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/sentry/socket/netlink/port
parent8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff)
parenta55bd73d4802112a7055de8663e947b9c0f42a2e (diff)
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'pkg/sentry/socket/netlink/port')
-rw-r--r--pkg/sentry/socket/netlink/port/port_state_autogen.go18
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/sentry/socket/netlink/port/port_state_autogen.go b/pkg/sentry/socket/netlink/port/port_state_autogen.go
index 16c59e616..e0083fcad 100644
--- a/pkg/sentry/socket/netlink/port/port_state_autogen.go
+++ b/pkg/sentry/socket/netlink/port/port_state_autogen.go
@@ -6,27 +6,27 @@ import (
"gvisor.dev/gvisor/pkg/state"
)
-func (x *Manager) StateTypeName() string {
+func (m *Manager) StateTypeName() string {
return "pkg/sentry/socket/netlink/port.Manager"
}
-func (x *Manager) StateFields() []string {
+func (m *Manager) StateFields() []string {
return []string{
"ports",
}
}
-func (x *Manager) beforeSave() {}
+func (m *Manager) beforeSave() {}
-func (x *Manager) StateSave(m state.Sink) {
- x.beforeSave()
- m.Save(0, &x.ports)
+func (m *Manager) StateSave(stateSinkObject state.Sink) {
+ m.beforeSave()
+ stateSinkObject.Save(0, &m.ports)
}
-func (x *Manager) afterLoad() {}
+func (m *Manager) afterLoad() {}
-func (x *Manager) StateLoad(m state.Source) {
- m.Load(0, &x.ports)
+func (m *Manager) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &m.ports)
}
func init() {