diff options
Diffstat (limited to 'pkg/sentry/fs/proc/proc_state_autogen.go')
-rwxr-xr-x | pkg/sentry/fs/proc/proc_state_autogen.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkg/sentry/fs/proc/proc_state_autogen.go b/pkg/sentry/fs/proc/proc_state_autogen.go index a1b87637d..caf61a660 100755 --- a/pkg/sentry/fs/proc/proc_state_autogen.go +++ b/pkg/sentry/fs/proc/proc_state_autogen.go @@ -203,6 +203,17 @@ func (x *netTCP) load(m state.Map) { m.Load("k", &x.k) } +func (x *netTCP6) beforeSave() {} +func (x *netTCP6) save(m state.Map) { + x.beforeSave() + m.Save("k", &x.k) +} + +func (x *netTCP6) afterLoad() {} +func (x *netTCP6) load(m state.Map) { + m.Load("k", &x.k) +} + func (x *netUDP) beforeSave() {} func (x *netUDP) save(m state.Map) { x.beforeSave() @@ -644,6 +655,7 @@ func init() { state.Register("proc.netDev", (*netDev)(nil), state.Fns{Save: (*netDev).save, Load: (*netDev).load}) state.Register("proc.netUnix", (*netUnix)(nil), state.Fns{Save: (*netUnix).save, Load: (*netUnix).load}) state.Register("proc.netTCP", (*netTCP)(nil), state.Fns{Save: (*netTCP).save, Load: (*netTCP).load}) + state.Register("proc.netTCP6", (*netTCP6)(nil), state.Fns{Save: (*netTCP6).save, Load: (*netTCP6).load}) state.Register("proc.netUDP", (*netUDP)(nil), state.Fns{Save: (*netUDP).save, Load: (*netUDP).load}) state.Register("proc.proc", (*proc)(nil), state.Fns{Save: (*proc).save, Load: (*proc).load}) state.Register("proc.self", (*self)(nil), state.Fns{Save: (*self).save, Load: (*self).load}) |