summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/header/header_state_autogen.go
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/header/header_state_autogen.go
parent0fea1c57d9bc63416cc366720b2f53139468352f (diff)
parentacb4c62885629d6d3ee977b93c27282abed0b33f (diff)
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/tcpip/header/header_state_autogen.go')
-rw-r--r--pkg/tcpip/header/header_state_autogen.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/tcpip/header/header_state_autogen.go b/pkg/tcpip/header/header_state_autogen.go
index ddcc980e8..d6dd58874 100644
--- a/pkg/tcpip/header/header_state_autogen.go
+++ b/pkg/tcpip/header/header_state_autogen.go
@@ -19,6 +19,7 @@ func (r *SACKBlock) StateFields() []string {
func (r *SACKBlock) beforeSave() {}
+// +checklocksignore
func (r *SACKBlock) StateSave(stateSinkObject state.Sink) {
r.beforeSave()
stateSinkObject.Save(0, &r.Start)
@@ -27,6 +28,7 @@ func (r *SACKBlock) StateSave(stateSinkObject state.Sink) {
func (r *SACKBlock) afterLoad() {}
+// +checklocksignore
func (r *SACKBlock) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &r.Start)
stateSourceObject.Load(1, &r.End)
@@ -47,6 +49,7 @@ func (t *TCPOptions) StateFields() []string {
func (t *TCPOptions) beforeSave() {}
+// +checklocksignore
func (t *TCPOptions) StateSave(stateSinkObject state.Sink) {
t.beforeSave()
stateSinkObject.Save(0, &t.TS)
@@ -57,6 +60,7 @@ func (t *TCPOptions) StateSave(stateSinkObject state.Sink) {
func (t *TCPOptions) afterLoad() {}
+// +checklocksignore
func (t *TCPOptions) StateLoad(stateSourceObject state.Source) {
stateSourceObject.Load(0, &t.TS)
stateSourceObject.Load(1, &t.TSVal)