diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-03-23 19:03:20 +0000 |
commit | e48ad2ada0357cb8ee9185074aaff7ab44d84631 (patch) | |
tree | f8848b871cd5e3a0d07853083e024a231438085c /pkg/tcpip/network/ipv4 | |
parent | 0fea1c57d9bc63416cc366720b2f53139468352f (diff) | |
parent | acb4c62885629d6d3ee977b93c27282abed0b33f (diff) |
Merge release-20210315.0-15-gacb4c6288 (automated)
Diffstat (limited to 'pkg/tcpip/network/ipv4')
-rw-r--r-- | pkg/tcpip/network/ipv4/ipv4_state_autogen.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/tcpip/network/ipv4/ipv4_state_autogen.go b/pkg/tcpip/network/ipv4/ipv4_state_autogen.go index 87a48e2ce..19b672251 100644 --- a/pkg/tcpip/network/ipv4/ipv4_state_autogen.go +++ b/pkg/tcpip/network/ipv4/ipv4_state_autogen.go @@ -16,12 +16,14 @@ func (i *icmpv4DestinationUnreachableSockError) StateFields() []string { func (i *icmpv4DestinationUnreachableSockError) beforeSave() {} +// +checklocksignore func (i *icmpv4DestinationUnreachableSockError) StateSave(stateSinkObject state.Sink) { i.beforeSave() } func (i *icmpv4DestinationUnreachableSockError) afterLoad() {} +// +checklocksignore func (i *icmpv4DestinationUnreachableSockError) StateLoad(stateSourceObject state.Source) { } @@ -37,6 +39,7 @@ func (i *icmpv4DestinationHostUnreachableSockError) StateFields() []string { func (i *icmpv4DestinationHostUnreachableSockError) beforeSave() {} +// +checklocksignore func (i *icmpv4DestinationHostUnreachableSockError) StateSave(stateSinkObject state.Sink) { i.beforeSave() stateSinkObject.Save(0, &i.icmpv4DestinationUnreachableSockError) @@ -44,6 +47,7 @@ func (i *icmpv4DestinationHostUnreachableSockError) StateSave(stateSinkObject st func (i *icmpv4DestinationHostUnreachableSockError) afterLoad() {} +// +checklocksignore func (i *icmpv4DestinationHostUnreachableSockError) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &i.icmpv4DestinationUnreachableSockError) } @@ -60,6 +64,7 @@ func (i *icmpv4DestinationPortUnreachableSockError) StateFields() []string { func (i *icmpv4DestinationPortUnreachableSockError) beforeSave() {} +// +checklocksignore func (i *icmpv4DestinationPortUnreachableSockError) StateSave(stateSinkObject state.Sink) { i.beforeSave() stateSinkObject.Save(0, &i.icmpv4DestinationUnreachableSockError) @@ -67,6 +72,7 @@ func (i *icmpv4DestinationPortUnreachableSockError) StateSave(stateSinkObject st func (i *icmpv4DestinationPortUnreachableSockError) afterLoad() {} +// +checklocksignore func (i *icmpv4DestinationPortUnreachableSockError) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &i.icmpv4DestinationUnreachableSockError) } @@ -84,6 +90,7 @@ func (e *icmpv4FragmentationNeededSockError) StateFields() []string { func (e *icmpv4FragmentationNeededSockError) beforeSave() {} +// +checklocksignore func (e *icmpv4FragmentationNeededSockError) StateSave(stateSinkObject state.Sink) { e.beforeSave() stateSinkObject.Save(0, &e.icmpv4DestinationUnreachableSockError) @@ -92,6 +99,7 @@ func (e *icmpv4FragmentationNeededSockError) StateSave(stateSinkObject state.Sin func (e *icmpv4FragmentationNeededSockError) afterLoad() {} +// +checklocksignore func (e *icmpv4FragmentationNeededSockError) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(0, &e.icmpv4DestinationUnreachableSockError) stateSourceObject.Load(1, &e.mtu) |