diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-02-20 23:23:04 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-20 23:23:04 +0000 |
commit | f7f6b5ae0fad1f5bfd050b3b290e63efc83d7a28 (patch) | |
tree | dc72bfda207b99be7ee6ab527728d67e524f1552 /pkg/tcpip/tcpip_state_autogen.go | |
parent | b1b3ef0213be56f5c3636b6399700ac313203f53 (diff) | |
parent | 4a73bae269ae9f52a962ae3b08a17ccaacf7ba80 (diff) |
Merge release-20200211.0-57-g4a73bae (automated)
Diffstat (limited to 'pkg/tcpip/tcpip_state_autogen.go')
-rwxr-xr-x | pkg/tcpip/tcpip_state_autogen.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip_state_autogen.go b/pkg/tcpip/tcpip_state_autogen.go index 272b21d87..6753503f0 100755 --- a/pkg/tcpip/tcpip_state_autogen.go +++ b/pkg/tcpip/tcpip_state_autogen.go @@ -90,9 +90,19 @@ func (x *IPPacketInfo) load(m state.Map) { m.Load("DestinationAddr", &x.DestinationAddr) } +func (x *StdClock) beforeSave() {} +func (x *StdClock) save(m state.Map) { + x.beforeSave() +} + +func (x *StdClock) afterLoad() {} +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}) + state.Register("pkg/tcpip.StdClock", (*StdClock)(nil), state.Fns{Save: (*StdClock).save, Load: (*StdClock).load}) } |