diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-24 16:11:16 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-24 16:11:16 +0000 |
commit | 277285086b0f8630bfacc155746a15684ea01548 (patch) | |
tree | 8a7bb7dca00e9506b8005370454ac4d1e0bfe11e /pkg/tcpip/tcpip_state_autogen.go | |
parent | f85e510e0beb51f7807c4a8129c6f9a9b4f916d2 (diff) | |
parent | 7e4073af12bed2c76bc5757ef3e5fbfba75308a0 (diff) |
Merge release-20200219.0-220-g7e4073a (automated)
Diffstat (limited to 'pkg/tcpip/tcpip_state_autogen.go')
-rwxr-xr-x | pkg/tcpip/tcpip_state_autogen.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/pkg/tcpip/tcpip_state_autogen.go b/pkg/tcpip/tcpip_state_autogen.go index 6753503f0..37b11704b 100755 --- a/pkg/tcpip/tcpip_state_autogen.go +++ b/pkg/tcpip/tcpip_state_autogen.go @@ -9,28 +9,6 @@ import ( "gvisor.dev/gvisor/pkg/state" ) -func (x *PacketBuffer) save(m state.Map) { - x.beforeSave() - m.Save("Data", &x.Data) - m.Save("DataOffset", &x.DataOffset) - m.Save("DataSize", &x.DataSize) - m.Save("Header", &x.Header) - m.Save("LinkHeader", &x.LinkHeader) - m.Save("NetworkHeader", &x.NetworkHeader) - m.Save("TransportHeader", &x.TransportHeader) -} - -func (x *PacketBuffer) afterLoad() {} -func (x *PacketBuffer) load(m state.Map) { - m.Load("Data", &x.Data) - m.Load("DataOffset", &x.DataOffset) - m.Load("DataSize", &x.DataSize) - m.Load("Header", &x.Header) - m.Load("LinkHeader", &x.LinkHeader) - m.Load("NetworkHeader", &x.NetworkHeader) - m.Load("TransportHeader", &x.TransportHeader) -} - func (x *FullAddress) beforeSave() {} func (x *FullAddress) save(m state.Map) { x.beforeSave() @@ -100,7 +78,6 @@ func (x *StdClock) load(m state.Map) { } func init() { - state.Register("pkg/tcpip.PacketBuffer", (*PacketBuffer)(nil), state.Fns{Save: (*PacketBuffer).save, Load: (*PacketBuffer).load}) state.Register("pkg/tcpip.FullAddress", (*FullAddress)(nil), state.Fns{Save: (*FullAddress).save, Load: (*FullAddress).load}) state.Register("pkg/tcpip.ControlMessages", (*ControlMessages)(nil), state.Fns{Save: (*ControlMessages).save, Load: (*ControlMessages).load}) state.Register("pkg/tcpip.IPPacketInfo", (*IPPacketInfo)(nil), state.Fns{Save: (*IPPacketInfo).save, Load: (*IPPacketInfo).load}) |