summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/tcpip_state_autogen.go
diff options
context:
space:
mode:
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 {