// automatically generated by stateify. package unix import ( "gvisor.googlesource.com/gvisor/pkg/state" ) func (x *SocketOperations) beforeSave() {} func (x *SocketOperations) save(m state.Map) { x.beforeSave() m.Save("AtomicRefCount", &x.AtomicRefCount) m.Save("SendReceiveTimeout", &x.SendReceiveTimeout) m.Save("ep", &x.ep) m.Save("isPacket", &x.isPacket) } func (x *SocketOperations) afterLoad() {} func (x *SocketOperations) load(m state.Map) { m.Load("AtomicRefCount", &x.AtomicRefCount) m.Load("SendReceiveTimeout", &x.SendReceiveTimeout) m.Load("ep", &x.ep) m.Load("isPacket", &x.isPacket) } func init() { state.Register("unix.SocketOperations", (*SocketOperations)(nil), state.Fns{Save: (*SocketOperations).save, Load: (*SocketOperations).load}) }