github.com/nicocha30/gvisor-ligolo@v0.0.0-20230726075806-989fa2c0a413/pkg/sentry/socket/netlink/uevent/uevent_state_autogen.go (about) 1 // automatically generated by stateify. 2 3 package uevent 4 5 import ( 6 "github.com/nicocha30/gvisor-ligolo/pkg/state" 7 ) 8 9 func (p *Protocol) StateTypeName() string { 10 return "pkg/sentry/socket/netlink/uevent.Protocol" 11 } 12 13 func (p *Protocol) StateFields() []string { 14 return []string{} 15 } 16 17 func (p *Protocol) beforeSave() {} 18 19 // +checklocksignore 20 func (p *Protocol) StateSave(stateSinkObject state.Sink) { 21 p.beforeSave() 22 } 23 24 func (p *Protocol) afterLoad() {} 25 26 // +checklocksignore 27 func (p *Protocol) StateLoad(stateSourceObject state.Source) { 28 } 29 30 func init() { 31 state.Register((*Protocol)(nil)) 32 }