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/link/channel | |
parent | 8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff) | |
parent | a55bd73d4802112a7055de8663e947b9c0f42a2e (diff) |
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'pkg/tcpip/link/channel')
-rw-r--r-- | pkg/tcpip/link/channel/channel_state_autogen.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/tcpip/link/channel/channel_state_autogen.go b/pkg/tcpip/link/channel/channel_state_autogen.go index d00c11cb2..38c12a3bf 100644 --- a/pkg/tcpip/link/channel/channel_state_autogen.go +++ b/pkg/tcpip/link/channel/channel_state_autogen.go @@ -6,27 +6,27 @@ import ( "gvisor.dev/gvisor/pkg/state" ) -func (x *NotificationHandle) StateTypeName() string { +func (n *NotificationHandle) StateTypeName() string { return "pkg/tcpip/link/channel.NotificationHandle" } -func (x *NotificationHandle) StateFields() []string { +func (n *NotificationHandle) StateFields() []string { return []string{ "n", } } -func (x *NotificationHandle) beforeSave() {} +func (n *NotificationHandle) beforeSave() {} -func (x *NotificationHandle) StateSave(m state.Sink) { - x.beforeSave() - m.Save(0, &x.n) +func (n *NotificationHandle) StateSave(stateSinkObject state.Sink) { + n.beforeSave() + stateSinkObject.Save(0, &n.n) } -func (x *NotificationHandle) afterLoad() {} +func (n *NotificationHandle) afterLoad() {} -func (x *NotificationHandle) StateLoad(m state.Source) { - m.Load(0, &x.n) +func (n *NotificationHandle) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &n.n) } func init() { |