summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip_state_autogen.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-22 22:38:51 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-22 22:38:51 +0000
commit16fd9f8968bdccfdc945f65a76209488fdd9e6c6 (patch)
tree853117badf01344dcc3ac504a59e9ecaeef6978c /pkg/tcpip/tcpip_state_autogen.go
parentf63bb21f7e5f013b28205f4643b027b651524c93 (diff)
parent71bf90c55bd888f9b9c493533ca5e4b2b4b3d21d (diff)
Merge release-20200622.1-184-g71bf90c55 (automated)
Diffstat (limited to 'pkg/tcpip/tcpip_state_autogen.go')
-rw-r--r--pkg/tcpip/tcpip_state_autogen.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/tcpip/tcpip_state_autogen.go b/pkg/tcpip/tcpip_state_autogen.go
index e79c0b491..827b27692 100644
--- a/pkg/tcpip/tcpip_state_autogen.go
+++ b/pkg/tcpip/tcpip_state_autogen.go
@@ -92,6 +92,7 @@ func (x *LinkPacketInfo) StateTypeName() string {
func (x *LinkPacketInfo) StateFields() []string {
return []string{
"Protocol",
+ "PktType",
}
}
@@ -100,12 +101,14 @@ func (x *LinkPacketInfo) beforeSave() {}
func (x *LinkPacketInfo) StateSave(m state.Sink) {
x.beforeSave()
m.Save(0, &x.Protocol)
+ m.Save(1, &x.PktType)
}
func (x *LinkPacketInfo) afterLoad() {}
func (x *LinkPacketInfo) StateLoad(m state.Source) {
m.Load(0, &x.Protocol)
+ m.Load(1, &x.PktType)
}
func (x *IPPacketInfo) StateTypeName() string {