blob: 900c217c72ce6ace9516eb4bb0b174d527650515 (
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.dev/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("pkg/sentry/socket.SendReceiveTimeout", (*SendReceiveTimeout)(nil), state.Fns{Save: (*SendReceiveTimeout).save, Load: (*SendReceiveTimeout).load})
}
|