summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header
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/header
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'pkg/tcpip/header')
-rw-r--r--pkg/tcpip/header/header_state_autogen.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/pkg/tcpip/header/header_state_autogen.go b/pkg/tcpip/header/header_state_autogen.go
index 8e70640cd..ddcc980e8 100644
--- a/pkg/tcpip/header/header_state_autogen.go
+++ b/pkg/tcpip/header/header_state_autogen.go
@@ -6,30 +6,30 @@ import (
"gvisor.dev/gvisor/pkg/state"
)
-func (s *SACKBlock) StateTypeName() string {
+func (r *SACKBlock) StateTypeName() string {
return "pkg/tcpip/header.SACKBlock"
}
-func (s *SACKBlock) StateFields() []string {
+func (r *SACKBlock) StateFields() []string {
return []string{
"Start",
"End",
}
}
-func (s *SACKBlock) beforeSave() {}
+func (r *SACKBlock) beforeSave() {}
-func (s *SACKBlock) StateSave(stateSinkObject state.Sink) {
- s.beforeSave()
- stateSinkObject.Save(0, &s.Start)
- stateSinkObject.Save(1, &s.End)
+func (r *SACKBlock) StateSave(stateSinkObject state.Sink) {
+ r.beforeSave()
+ stateSinkObject.Save(0, &r.Start)
+ stateSinkObject.Save(1, &r.End)
}
-func (s *SACKBlock) afterLoad() {}
+func (r *SACKBlock) afterLoad() {}
-func (s *SACKBlock) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &s.Start)
- stateSourceObject.Load(1, &s.End)
+func (r *SACKBlock) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &r.Start)
+ stateSourceObject.Load(1, &r.End)
}
func (t *TCPOptions) StateTypeName() string {