summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/transport/udp
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
commit69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch)
tree9b57d56a75d3900b35c7814bf1417057f8fac933 /pkg/tcpip/transport/udp
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/tcpip/transport/udp')
-rw-r--r--pkg/tcpip/transport/udp/udp_state_autogen.go44
1 files changed, 22 insertions, 22 deletions
diff --git a/pkg/tcpip/transport/udp/udp_state_autogen.go b/pkg/tcpip/transport/udp/udp_state_autogen.go
index 74cec739f..06d025590 100644
--- a/pkg/tcpip/transport/udp/udp_state_autogen.go
+++ b/pkg/tcpip/transport/udp/udp_state_autogen.go
@@ -193,56 +193,56 @@ func (m *multicastMembership) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(1, &m.multicastAddr)
}
-func (u *udpPacketList) StateTypeName() string {
+func (l *udpPacketList) StateTypeName() string {
return "pkg/tcpip/transport/udp.udpPacketList"
}
-func (u *udpPacketList) StateFields() []string {
+func (l *udpPacketList) StateFields() []string {
return []string{
"head",
"tail",
}
}
-func (u *udpPacketList) beforeSave() {}
+func (l *udpPacketList) beforeSave() {}
-func (u *udpPacketList) StateSave(stateSinkObject state.Sink) {
- u.beforeSave()
- stateSinkObject.Save(0, &u.head)
- stateSinkObject.Save(1, &u.tail)
+func (l *udpPacketList) StateSave(stateSinkObject state.Sink) {
+ l.beforeSave()
+ stateSinkObject.Save(0, &l.head)
+ stateSinkObject.Save(1, &l.tail)
}
-func (u *udpPacketList) afterLoad() {}
+func (l *udpPacketList) afterLoad() {}
-func (u *udpPacketList) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &u.head)
- stateSourceObject.Load(1, &u.tail)
+func (l *udpPacketList) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &l.head)
+ stateSourceObject.Load(1, &l.tail)
}
-func (u *udpPacketEntry) StateTypeName() string {
+func (e *udpPacketEntry) StateTypeName() string {
return "pkg/tcpip/transport/udp.udpPacketEntry"
}
-func (u *udpPacketEntry) StateFields() []string {
+func (e *udpPacketEntry) StateFields() []string {
return []string{
"next",
"prev",
}
}
-func (u *udpPacketEntry) beforeSave() {}
+func (e *udpPacketEntry) beforeSave() {}
-func (u *udpPacketEntry) StateSave(stateSinkObject state.Sink) {
- u.beforeSave()
- stateSinkObject.Save(0, &u.next)
- stateSinkObject.Save(1, &u.prev)
+func (e *udpPacketEntry) StateSave(stateSinkObject state.Sink) {
+ e.beforeSave()
+ stateSinkObject.Save(0, &e.next)
+ stateSinkObject.Save(1, &e.prev)
}
-func (u *udpPacketEntry) afterLoad() {}
+func (e *udpPacketEntry) afterLoad() {}
-func (u *udpPacketEntry) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &u.next)
- stateSourceObject.Load(1, &u.prev)
+func (e *udpPacketEntry) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &e.next)
+ stateSourceObject.Load(1, &e.prev)
}
func init() {