blob: f3c899200876dd411ece648b7cea9a96d0b6853a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// automatically generated by stateify.
package socket
import (
"gvisor.googlesource.com/gvisor/pkg/state"
)
func (x *SendReceiveTimeout) beforeSave() {}
func (x *SendReceiveTimeout) save(m state.Map) {
x.beforeSave()
m.Save("send", &x.send)
m.Save("recv", &x.recv)
}
func (x *SendReceiveTimeout) afterLoad() {}
func (x *SendReceiveTimeout) load(m state.Map) {
m.Load("send", &x.send)
m.Load("recv", &x.recv)
}
func init() {
state.Register("socket.SendReceiveTimeout", (*SendReceiveTimeout)(nil), state.Fns{Save: (*SendReceiveTimeout).save, Load: (*SendReceiveTimeout).load})
}
|