diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-01 16:58:01 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-01 16:58:01 +0000 |
commit | 964da19b9b3361162209ad820eab7a957d10bc20 (patch) | |
tree | e2d3c86de0536d55bff9ece1ccd05787b08d5995 /pkg/tcpip/tcpip_state_autogen.go | |
parent | 1e30e0a3f34aa20e8bc1c827a2c6db7566540ee8 (diff) | |
parent | 0eae08bc9e77d54c415c9d59ac3e1fa1f35f0a18 (diff) |
Merge release-20200818.0-98-g0eae08bc9 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip_state_autogen.go')
-rw-r--r-- | pkg/tcpip/tcpip_state_autogen.go | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/pkg/tcpip/tcpip_state_autogen.go b/pkg/tcpip/tcpip_state_autogen.go index 034b39c1f..827b27692 100644 --- a/pkg/tcpip/tcpip_state_autogen.go +++ b/pkg/tcpip/tcpip_state_autogen.go @@ -111,32 +111,6 @@ func (x *LinkPacketInfo) StateLoad(m state.Source) { m.Load(1, &x.PktType) } -func (x *LingerOption) StateTypeName() string { - return "pkg/tcpip.LingerOption" -} - -func (x *LingerOption) StateFields() []string { - return []string{ - "Enabled", - "Timeout", - } -} - -func (x *LingerOption) beforeSave() {} - -func (x *LingerOption) StateSave(m state.Sink) { - x.beforeSave() - m.Save(0, &x.Enabled) - m.Save(1, &x.Timeout) -} - -func (x *LingerOption) afterLoad() {} - -func (x *LingerOption) StateLoad(m state.Source) { - m.Load(0, &x.Enabled) - m.Load(1, &x.Timeout) -} - func (x *IPPacketInfo) StateTypeName() string { return "pkg/tcpip.IPPacketInfo" } @@ -170,6 +144,5 @@ func init() { state.Register((*FullAddress)(nil)) state.Register((*ControlMessages)(nil)) state.Register((*LinkPacketInfo)(nil)) - state.Register((*LingerOption)(nil)) state.Register((*IPPacketInfo)(nil)) } |