summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netlink/route/route_state_autogen.go
blob: f4225cb3c6c643de80868bd2bb4741af36cfeffe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// automatically generated by stateify.

package route

import (
	"gvisor.dev/gvisor/pkg/state"
)

func (x *Protocol) beforeSave() {}
func (x *Protocol) save(m state.Map) {
	x.beforeSave()
}

func (x *Protocol) afterLoad() {}
func (x *Protocol) load(m state.Map) {
}

func init() {
	state.Register("route.Protocol", (*Protocol)(nil), state.Fns{Save: (*Protocol).save, Load: (*Protocol).load})
}