summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/udp
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
committergVisor bot <gvisor-bot@google.com>2021-03-23 19:03:20 +0000
commite48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch)
treef8848b871cd5e3a0d07853083e024a231438085c /pkg/tcpip/transport/udp
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/tcpip/transport/udp')
-rw-r--r--pkg/tcpip/transport/udp/udp_state_autogen.go10
1 files changed, 10 insertions, 0 deletions
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)