diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-02-07 05:42:08 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-07 05:42:08 +0000 |
commit | 21036aed5e585d3e70e725580f853f9039781a75 (patch) | |
tree | 55f6c96cf8130136ff1595f3da89b6bbf6a96b6d /pkg/tcpip/stack/stack_state_autogen.go | |
parent | 2042ce9bee2d1298c2842727bc2baebe36fcfbf7 (diff) | |
parent | 3853a94f10b736e0c7b65766683ebe90b400d15b (diff) |
Merge release-20210125.0-98-g3853a94f1 (automated)
Diffstat (limited to 'pkg/tcpip/stack/stack_state_autogen.go')
-rw-r--r-- | pkg/tcpip/stack/stack_state_autogen.go | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/pkg/tcpip/stack/stack_state_autogen.go b/pkg/tcpip/stack/stack_state_autogen.go index 271e0f1f4..462139b82 100644 --- a/pkg/tcpip/stack/stack_state_autogen.go +++ b/pkg/tcpip/stack/stack_state_autogen.go @@ -346,58 +346,6 @@ func (fl *IPHeaderFilter) StateLoad(stateSourceObject state.Source) { stateSourceObject.Load(13, &fl.OutputInterfaceInvert) } -func (l *linkAddrEntryList) StateTypeName() string { - return "pkg/tcpip/stack.linkAddrEntryList" -} - -func (l *linkAddrEntryList) StateFields() []string { - return []string{ - "head", - "tail", - } -} - -func (l *linkAddrEntryList) beforeSave() {} - -func (l *linkAddrEntryList) StateSave(stateSinkObject state.Sink) { - l.beforeSave() - stateSinkObject.Save(0, &l.head) - stateSinkObject.Save(1, &l.tail) -} - -func (l *linkAddrEntryList) afterLoad() {} - -func (l *linkAddrEntryList) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &l.head) - stateSourceObject.Load(1, &l.tail) -} - -func (e *linkAddrEntryEntry) StateTypeName() string { - return "pkg/tcpip/stack.linkAddrEntryEntry" -} - -func (e *linkAddrEntryEntry) StateFields() []string { - return []string{ - "next", - "prev", - } -} - -func (e *linkAddrEntryEntry) beforeSave() {} - -func (e *linkAddrEntryEntry) StateSave(stateSinkObject state.Sink) { - e.beforeSave() - stateSinkObject.Save(0, &e.next) - stateSinkObject.Save(1, &e.prev) -} - -func (e *linkAddrEntryEntry) afterLoad() {} - -func (e *linkAddrEntryEntry) StateLoad(stateSourceObject state.Source) { - stateSourceObject.Load(0, &e.next) - stateSourceObject.Load(1, &e.prev) -} - func (l *neighborEntryList) StateTypeName() string { return "pkg/tcpip/stack.neighborEntryList" } @@ -716,8 +664,6 @@ func init() { state.Register((*Table)(nil)) state.Register((*Rule)(nil)) state.Register((*IPHeaderFilter)(nil)) - state.Register((*linkAddrEntryList)(nil)) - state.Register((*linkAddrEntryEntry)(nil)) state.Register((*neighborEntryList)(nil)) state.Register((*neighborEntryEntry)(nil)) state.Register((*PacketBufferList)(nil)) |