diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-09 19:26:05 +0000 |
commit | 69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch) | |
tree | 9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/tcpip/link/tun | |
parent | 578aece760dd47a06a686f82efab5b650807d4c5 (diff) | |
parent | 743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff) |
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/tcpip/link/tun')
-rw-r--r-- | pkg/tcpip/link/tun/tun_state_autogen.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pkg/tcpip/link/tun/tun_state_autogen.go b/pkg/tcpip/link/tun/tun_state_autogen.go index 168171eb1..165b50835 100644 --- a/pkg/tcpip/link/tun/tun_state_autogen.go +++ b/pkg/tcpip/link/tun/tun_state_autogen.go @@ -36,27 +36,27 @@ func (d *Device) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(3, &d.flags) } -func (t *tunEndpointRefs) StateTypeName() string { +func (r *tunEndpointRefs) StateTypeName() string { return "pkg/tcpip/link/tun.tunEndpointRefs" } -func (t *tunEndpointRefs) StateFields() []string { +func (r *tunEndpointRefs) StateFields() []string { return []string{ "refCount", } } -func (t *tunEndpointRefs) beforeSave() {} +func (r *tunEndpointRefs) beforeSave() {} -func (t *tunEndpointRefs) StateSave(stateSinkObject state.Sink) { - t.beforeSave() - stateSinkObject.Save(0, &t.refCount) +func (r *tunEndpointRefs) StateSave(stateSinkObject state.Sink) { + r.beforeSave() + stateSinkObject.Save(0, &r.refCount) } -func (t *tunEndpointRefs) afterLoad() {} +func (r *tunEndpointRefs) afterLoad() {} -func (t *tunEndpointRefs) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &t.refCount) +func (r *tunEndpointRefs) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &r.refCount) } func init() { |