summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tcpip/transport')
-rw-r--r--pkg/tcpip/transport/icmp/icmp_state_autogen.go8
-rw-r--r--pkg/tcpip/transport/packet/packet_state_autogen.go8
-rw-r--r--pkg/tcpip/transport/raw/raw_state_autogen.go8
-rw-r--r--pkg/tcpip/transport/tcp/tcp_state_autogen.go44
-rw-r--r--pkg/tcpip/transport/udp/udp_state_autogen.go10
5 files changed, 78 insertions, 0 deletions
diff --git a/pkg/tcpip/transport/icmp/icmp_state_autogen.go b/pkg/tcpip/transport/icmp/icmp_state_autogen.go
index fe5af3d97..4175f0f8b 100644
--- a/pkg/tcpip/transport/icmp/icmp_state_autogen.go
+++ b/pkg/tcpip/transport/icmp/icmp_state_autogen.go
@@ -22,6 +22,7 @@ func (p *icmpPacket) StateFields() []string {
func (p *icmpPacket) beforeSave() {}
+// +checklocksignore
func (p *icmpPacket) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
var dataValue buffer.VectorisedView = p.saveData()
@@ -33,6 +34,7 @@ func (p *icmpPacket) StateSave(stateSinkObject state.Sink) {
func (p *icmpPacket) afterLoad() {}
+// +checklocksignore
func (p *icmpPacket) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &p.icmpPacketEntry)
stateSourceObject.Load(1, &p.senderAddress)
@@ -63,6 +65,7 @@ func (e *endpoint) StateFields() []string {
}
}
+// +checklocksignore
func (e *endpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
var rcvBufSizeMaxValue int = e.saveRcvBufSizeMax()
@@ -82,6 +85,7 @@ func (e *endpoint) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(13, &e.ops)
}
+// +checklocksignore
func (e *endpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.TransportEndpointInfo)
stateSourceObject.Load(1, &e.DefaultSocketOptionsHandler)
@@ -113,6 +117,7 @@ func (l *icmpPacketList) StateFields() []string {
func (l *icmpPacketList) beforeSave() {}
+// +checklocksignore
func (l *icmpPacketList) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -121,6 +126,7 @@ func (l *icmpPacketList) StateSave(stateSinkObject state.Sink) {
func (l *icmpPacketList) afterLoad() {}
+// +checklocksignore
func (l *icmpPacketList) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -139,6 +145,7 @@ func (e *icmpPacketEntry) StateFields() []string {
func (e *icmpPacketEntry) beforeSave() {}
+// +checklocksignore
func (e *icmpPacketEntry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -147,6 +154,7 @@ func (e *icmpPacketEntry) StateSave(stateSinkObject state.Sink) {
func (e *icmpPacketEntry) afterLoad() {}
+// +checklocksignore
func (e *icmpPacketEntry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)
diff --git a/pkg/tcpip/transport/packet/packet_state_autogen.go b/pkg/tcpip/transport/packet/packet_state_autogen.go
index e78427555..f8b82e575 100644
--- a/pkg/tcpip/transport/packet/packet_state_autogen.go
+++ b/pkg/tcpip/transport/packet/packet_state_autogen.go
@@ -23,6 +23,7 @@ func (p *packet) StateFields() []string {
func (p *packet) beforeSave() {}
+// +checklocksignore
func (p *packet) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
var dataValue buffer.VectorisedView = p.saveData()
@@ -35,6 +36,7 @@ func (p *packet) StateSave(stateSinkObject state.Sink) {
func (p *packet) afterLoad() {}
+// +checklocksignore
func (p *packet) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &p.packetEntry)
stateSourceObject.Load(2, &p.timestampNS)
@@ -66,6 +68,7 @@ func (ep *endpoint) StateFields() []string {
}
}
+// +checklocksignore
func (ep *endpoint) StateSave(stateSinkObject state.Sink) {
ep.beforeSave()
var rcvBufSizeMaxValue int = ep.saveRcvBufSizeMax()
@@ -85,6 +88,7 @@ func (ep *endpoint) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(13, &ep.ops)
}
+// +checklocksignore
func (ep *endpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &ep.TransportEndpointInfo)
stateSourceObject.Load(1, &ep.DefaultSocketOptionsHandler)
@@ -116,6 +120,7 @@ func (l *packetList) StateFields() []string {
func (l *packetList) beforeSave() {}
+// +checklocksignore
func (l *packetList) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -124,6 +129,7 @@ func (l *packetList) StateSave(stateSinkObject state.Sink) {
func (l *packetList) afterLoad() {}
+// +checklocksignore
func (l *packetList) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -142,6 +148,7 @@ func (e *packetEntry) StateFields() []string {
func (e *packetEntry) beforeSave() {}
+// +checklocksignore
func (e *packetEntry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -150,6 +157,7 @@ func (e *packetEntry) StateSave(stateSinkObject state.Sink) {
func (e *packetEntry) afterLoad() {}
+// +checklocksignore
func (e *packetEntry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)
diff --git a/pkg/tcpip/transport/raw/raw_state_autogen.go b/pkg/tcpip/transport/raw/raw_state_autogen.go
index db4b393a7..3bcfc7c61 100644
--- a/pkg/tcpip/transport/raw/raw_state_autogen.go
+++ b/pkg/tcpip/transport/raw/raw_state_autogen.go
@@ -22,6 +22,7 @@ func (p *rawPacket) StateFields() []string {
func (p *rawPacket) beforeSave() {}
+// +checklocksignore
func (p *rawPacket) StateSave(stateSinkObject state.Sink) {
p.beforeSave()
var dataValue buffer.VectorisedView = p.saveData()
@@ -33,6 +34,7 @@ func (p *rawPacket) StateSave(stateSinkObject state.Sink) {
func (p *rawPacket) afterLoad() {}
+// +checklocksignore
func (p *rawPacket) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &p.rawPacketEntry)
stateSourceObject.Load(2, &p.timestampNS)
@@ -62,6 +64,7 @@ func (e *endpoint) StateFields() []string {
}
}
+// +checklocksignore
func (e *endpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
var rcvBufSizeMaxValue int = e.saveRcvBufSizeMax()
@@ -80,6 +83,7 @@ func (e *endpoint) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(12, &e.ops)
}
+// +checklocksignore
func (e *endpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.TransportEndpointInfo)
stateSourceObject.Load(1, &e.DefaultSocketOptionsHandler)
@@ -110,6 +114,7 @@ func (l *rawPacketList) StateFields() []string {
func (l *rawPacketList) beforeSave() {}
+// +checklocksignore
func (l *rawPacketList) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -118,6 +123,7 @@ func (l *rawPacketList) StateSave(stateSinkObject state.Sink) {
func (l *rawPacketList) afterLoad() {}
+// +checklocksignore
func (l *rawPacketList) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -136,6 +142,7 @@ func (e *rawPacketEntry) StateFields() []string {
func (e *rawPacketEntry) beforeSave() {}
+// +checklocksignore
func (e *rawPacketEntry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -144,6 +151,7 @@ func (e *rawPacketEntry) StateSave(stateSinkObject state.Sink) {
func (e *rawPacketEntry) afterLoad() {}
+// +checklocksignore
func (e *rawPacketEntry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)
diff --git a/pkg/tcpip/transport/tcp/tcp_state_autogen.go b/pkg/tcpip/transport/tcp/tcp_state_autogen.go
index 4f3f62b98..a92bec6c5 100644
--- a/pkg/tcpip/transport/tcp/tcp_state_autogen.go
+++ b/pkg/tcpip/transport/tcp/tcp_state_autogen.go
@@ -28,6 +28,7 @@ func (c *cubicState) StateFields() []string {
func (c *cubicState) beforeSave() {}
+// +checklocksignore
func (c *cubicState) StateSave(stateSinkObject state.Sink) {
c.beforeSave()
var tValue unixTime = c.saveT()
@@ -45,6 +46,7 @@ func (c *cubicState) StateSave(stateSinkObject state.Sink) {
func (c *cubicState) afterLoad() {}
+// +checklocksignore
func (c *cubicState) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &c.wLastMax)
stateSourceObject.Load(1, &c.wMax)
@@ -71,6 +73,7 @@ func (s *SACKInfo) StateFields() []string {
func (s *SACKInfo) beforeSave() {}
+// +checklocksignore
func (s *SACKInfo) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.Blocks)
@@ -79,6 +82,7 @@ func (s *SACKInfo) StateSave(stateSinkObject state.Sink) {
func (s *SACKInfo) afterLoad() {}
+// +checklocksignore
func (s *SACKInfo) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.Blocks)
stateSourceObject.Load(1, &s.NumBlocks)
@@ -102,6 +106,7 @@ func (r *rcvBufAutoTuneParams) StateFields() []string {
func (r *rcvBufAutoTuneParams) beforeSave() {}
+// +checklocksignore
func (r *rcvBufAutoTuneParams) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
var measureTimeValue unixTime = r.saveMeasureTime()
@@ -117,6 +122,7 @@ func (r *rcvBufAutoTuneParams) StateSave(stateSinkObject state.Sink) {
func (r *rcvBufAutoTuneParams) afterLoad() {}
+// +checklocksignore
func (r *rcvBufAutoTuneParams) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(1, &r.copied)
stateSourceObject.Load(2, &r.prevCopied)
@@ -139,6 +145,7 @@ func (e *EndpointInfo) StateFields() []string {
func (e *EndpointInfo) beforeSave() {}
+// +checklocksignore
func (e *EndpointInfo) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.TransportEndpointInfo)
@@ -146,6 +153,7 @@ func (e *EndpointInfo) StateSave(stateSinkObject state.Sink) {
func (e *EndpointInfo) afterLoad() {}
+// +checklocksignore
func (e *EndpointInfo) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.TransportEndpointInfo)
}
@@ -221,6 +229,7 @@ func (e *endpoint) StateFields() []string {
}
}
+// +checklocksignore
func (e *endpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
var stateValue EndpointState = e.saveState()
@@ -291,6 +300,7 @@ func (e *endpoint) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(60, &e.ops)
}
+// +checklocksignore
func (e *endpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.EndpointInfo)
stateSourceObject.Load(1, &e.DefaultSocketOptionsHandler)
@@ -372,6 +382,7 @@ func (k *keepalive) StateFields() []string {
func (k *keepalive) beforeSave() {}
+// +checklocksignore
func (k *keepalive) StateSave(stateSinkObject state.Sink) {
k.beforeSave()
stateSinkObject.Save(0, &k.idle)
@@ -382,6 +393,7 @@ func (k *keepalive) StateSave(stateSinkObject state.Sink) {
func (k *keepalive) afterLoad() {}
+// +checklocksignore
func (k *keepalive) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &k.idle)
stateSourceObject.Load(1, &k.interval)
@@ -415,6 +427,7 @@ func (rc *rackControl) StateFields() []string {
func (rc *rackControl) beforeSave() {}
+// +checklocksignore
func (rc *rackControl) StateSave(stateSinkObject state.Sink) {
rc.beforeSave()
var xmitTimeValue unixTime = rc.saveXmitTime()
@@ -437,6 +450,7 @@ func (rc *rackControl) StateSave(stateSinkObject state.Sink) {
func (rc *rackControl) afterLoad() {}
+// +checklocksignore
func (rc *rackControl) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &rc.dsackSeen)
stateSourceObject.Load(1, &rc.endSequence)
@@ -477,6 +491,7 @@ func (r *receiver) StateFields() []string {
func (r *receiver) beforeSave() {}
+// +checklocksignore
func (r *receiver) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
var lastRcvdAckTimeValue unixTime = r.saveLastRcvdAckTime()
@@ -495,6 +510,7 @@ func (r *receiver) StateSave(stateSinkObject state.Sink) {
func (r *receiver) afterLoad() {}
+// +checklocksignore
func (r *receiver) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.ep)
stateSourceObject.Load(1, &r.rcvNxt)
@@ -521,6 +537,7 @@ func (r *renoState) StateFields() []string {
func (r *renoState) beforeSave() {}
+// +checklocksignore
func (r *renoState) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
stateSinkObject.Save(0, &r.s)
@@ -528,6 +545,7 @@ func (r *renoState) StateSave(stateSinkObject state.Sink) {
func (r *renoState) afterLoad() {}
+// +checklocksignore
func (r *renoState) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.s)
}
@@ -544,6 +562,7 @@ func (rr *renoRecovery) StateFields() []string {
func (rr *renoRecovery) beforeSave() {}
+// +checklocksignore
func (rr *renoRecovery) StateSave(stateSinkObject state.Sink) {
rr.beforeSave()
stateSinkObject.Save(0, &rr.s)
@@ -551,6 +570,7 @@ func (rr *renoRecovery) StateSave(stateSinkObject state.Sink) {
func (rr *renoRecovery) afterLoad() {}
+// +checklocksignore
func (rr *renoRecovery) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &rr.s)
}
@@ -567,6 +587,7 @@ func (sr *sackRecovery) StateFields() []string {
func (sr *sackRecovery) beforeSave() {}
+// +checklocksignore
func (sr *sackRecovery) StateSave(stateSinkObject state.Sink) {
sr.beforeSave()
stateSinkObject.Save(0, &sr.s)
@@ -574,6 +595,7 @@ func (sr *sackRecovery) StateSave(stateSinkObject state.Sink) {
func (sr *sackRecovery) afterLoad() {}
+// +checklocksignore
func (sr *sackRecovery) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &sr.s)
}
@@ -591,6 +613,7 @@ func (s *SACKScoreboard) StateFields() []string {
func (s *SACKScoreboard) beforeSave() {}
+// +checklocksignore
func (s *SACKScoreboard) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
stateSinkObject.Save(0, &s.smss)
@@ -599,6 +622,7 @@ func (s *SACKScoreboard) StateSave(stateSinkObject state.Sink) {
func (s *SACKScoreboard) afterLoad() {}
+// +checklocksignore
func (s *SACKScoreboard) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.smss)
stateSourceObject.Load(1, &s.maxSACKED)
@@ -640,6 +664,7 @@ func (s *segment) StateFields() []string {
func (s *segment) beforeSave() {}
+// +checklocksignore
func (s *segment) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
var dataValue buffer.VectorisedView = s.saveData()
@@ -675,6 +700,7 @@ func (s *segment) StateSave(stateSinkObject state.Sink) {
func (s *segment) afterLoad() {}
+// +checklocksignore
func (s *segment) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.segmentEntry)
stateSourceObject.Load(1, &s.refCnt)
@@ -717,6 +743,7 @@ func (q *segmentQueue) StateFields() []string {
func (q *segmentQueue) beforeSave() {}
+// +checklocksignore
func (q *segmentQueue) StateSave(stateSinkObject state.Sink) {
q.beforeSave()
stateSinkObject.Save(0, &q.list)
@@ -726,6 +753,7 @@ func (q *segmentQueue) StateSave(stateSinkObject state.Sink) {
func (q *segmentQueue) afterLoad() {}
+// +checklocksignore
func (q *segmentQueue) StateLoad(stateSourceObject state.Source) {
stateSourceObject.LoadWait(0, &q.list)
stateSourceObject.Load(1, &q.ep)
@@ -774,6 +802,7 @@ func (s *sender) StateFields() []string {
func (s *sender) beforeSave() {}
+// +checklocksignore
func (s *sender) StateSave(stateSinkObject state.Sink) {
s.beforeSave()
var lastSendTimeValue unixTime = s.saveLastSendTime()
@@ -812,6 +841,7 @@ func (s *sender) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(30, &s.rc)
}
+// +checklocksignore
func (s *sender) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &s.ep)
stateSourceObject.Load(2, &s.dupAckCount)
@@ -861,6 +891,7 @@ func (r *rtt) StateFields() []string {
func (r *rtt) beforeSave() {}
+// +checklocksignore
func (r *rtt) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
stateSinkObject.Save(0, &r.srtt)
@@ -870,6 +901,7 @@ func (r *rtt) StateSave(stateSinkObject state.Sink) {
func (r *rtt) afterLoad() {}
+// +checklocksignore
func (r *rtt) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.srtt)
stateSourceObject.Load(1, &r.rttvar)
@@ -893,6 +925,7 @@ func (f *fastRecovery) StateFields() []string {
func (f *fastRecovery) beforeSave() {}
+// +checklocksignore
func (f *fastRecovery) StateSave(stateSinkObject state.Sink) {
f.beforeSave()
stateSinkObject.Save(0, &f.active)
@@ -905,6 +938,7 @@ func (f *fastRecovery) StateSave(stateSinkObject state.Sink) {
func (f *fastRecovery) afterLoad() {}
+// +checklocksignore
func (f *fastRecovery) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &f.active)
stateSourceObject.Load(1, &f.first)
@@ -927,6 +961,7 @@ func (u *unixTime) StateFields() []string {
func (u *unixTime) beforeSave() {}
+// +checklocksignore
func (u *unixTime) StateSave(stateSinkObject state.Sink) {
u.beforeSave()
stateSinkObject.Save(0, &u.second)
@@ -935,6 +970,7 @@ func (u *unixTime) StateSave(stateSinkObject state.Sink) {
func (u *unixTime) afterLoad() {}
+// +checklocksignore
func (u *unixTime) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &u.second)
stateSourceObject.Load(1, &u.nano)
@@ -953,6 +989,7 @@ func (l *endpointList) StateFields() []string {
func (l *endpointList) beforeSave() {}
+// +checklocksignore
func (l *endpointList) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -961,6 +998,7 @@ func (l *endpointList) StateSave(stateSinkObject state.Sink) {
func (l *endpointList) afterLoad() {}
+// +checklocksignore
func (l *endpointList) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -979,6 +1017,7 @@ func (e *endpointEntry) StateFields() []string {
func (e *endpointEntry) beforeSave() {}
+// +checklocksignore
func (e *endpointEntry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -987,6 +1026,7 @@ func (e *endpointEntry) StateSave(stateSinkObject state.Sink) {
func (e *endpointEntry) afterLoad() {}
+// +checklocksignore
func (e *endpointEntry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)
@@ -1005,6 +1045,7 @@ func (l *segmentList) StateFields() []string {
func (l *segmentList) beforeSave() {}
+// +checklocksignore
func (l *segmentList) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -1013,6 +1054,7 @@ func (l *segmentList) StateSave(stateSinkObject state.Sink) {
func (l *segmentList) afterLoad() {}
+// +checklocksignore
func (l *segmentList) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -1031,6 +1073,7 @@ func (e *segmentEntry) StateFields() []string {
func (e *segmentEntry) beforeSave() {}
+// +checklocksignore
func (e *segmentEntry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -1039,6 +1082,7 @@ func (e *segmentEntry) StateSave(stateSinkObject state.Sink) {
func (e *segmentEntry) afterLoad() {}
+// +checklocksignore
func (e *segmentEntry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)
diff --git a/pkg/tcpip/transport/udp/udp_state_autogen.go b/pkg/tcpip/transport/udp/udp_state_autogen.go
index 16900d0f9..5d7859a9e 100644
--- a/pkg/tcpip/transport/udp/udp_state_autogen.go
+++ b/pkg/tcpip/transport/udp/udp_state_autogen.go
@@ -25,6 +25,7 @@ func (u *udpPacket) StateFields() []string {
func (u *udpPacket) beforeSave() {}
+// +checklocksignore
func (u *udpPacket) StateSave(stateSinkObject state.Sink) {
u.beforeSave()
var dataValue buffer.VectorisedView = u.saveData()
@@ -39,6 +40,7 @@ func (u *udpPacket) StateSave(stateSinkObject state.Sink) {
func (u *udpPacket) afterLoad() {}
+// +checklocksignore
func (u *udpPacket) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &u.udpPacketEntry)
stateSourceObject.Load(1, &u.senderAddress)
@@ -83,6 +85,7 @@ func (e *endpoint) StateFields() []string {
}
}
+// +checklocksignore
func (e *endpoint) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
var rcvBufSizeMaxValue int = e.saveRcvBufSizeMax()
@@ -113,6 +116,7 @@ func (e *endpoint) StateSave(stateSinkObject state.Sink) {
stateSinkObject.Save(24, &e.ops)
}
+// +checklocksignore
func (e *endpoint) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.TransportEndpointInfo)
stateSourceObject.Load(1, &e.DefaultSocketOptionsHandler)
@@ -155,6 +159,7 @@ func (m *multicastMembership) StateFields() []string {
func (m *multicastMembership) beforeSave() {}
+// +checklocksignore
func (m *multicastMembership) StateSave(stateSinkObject state.Sink) {
m.beforeSave()
stateSinkObject.Save(0, &m.nicID)
@@ -163,6 +168,7 @@ func (m *multicastMembership) StateSave(stateSinkObject state.Sink) {
func (m *multicastMembership) afterLoad() {}
+// +checklocksignore
func (m *multicastMembership) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &m.nicID)
stateSourceObject.Load(1, &m.multicastAddr)
@@ -181,6 +187,7 @@ func (l *udpPacketList) StateFields() []string {
func (l *udpPacketList) beforeSave() {}
+// +checklocksignore
func (l *udpPacketList) StateSave(stateSinkObject state.Sink) {
l.beforeSave()
stateSinkObject.Save(0, &l.head)
@@ -189,6 +196,7 @@ func (l *udpPacketList) StateSave(stateSinkObject state.Sink) {
func (l *udpPacketList) afterLoad() {}
+// +checklocksignore
func (l *udpPacketList) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &l.head)
stateSourceObject.Load(1, &l.tail)
@@ -207,6 +215,7 @@ func (e *udpPacketEntry) StateFields() []string {
func (e *udpPacketEntry) beforeSave() {}
+// +checklocksignore
func (e *udpPacketEntry) StateSave(stateSinkObject state.Sink) {
e.beforeSave()
stateSinkObject.Save(0, &e.next)
@@ -215,6 +224,7 @@ func (e *udpPacketEntry) StateSave(stateSinkObject state.Sink) {
func (e *udpPacketEntry) afterLoad() {}
+// +checklocksignore
func (e *udpPacketEntry) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &e.next)
stateSourceObject.Load(1, &e.prev)