inet.af/netstack@v0.0.0-20220214151720-7585b01ddccf/tcpip/network/internal/ip/ip_state_autogen.go (about)

     1  // automatically generated by stateify.
     2  
     3  package ip
     4  
     5  import (
     6  	"inet.af/netstack/state"
     7  )
     8  
     9  func (e *ErrMessageTooLong) StateTypeName() string {
    10  	return "pkg/tcpip/network/internal/ip.ErrMessageTooLong"
    11  }
    12  
    13  func (e *ErrMessageTooLong) StateFields() []string {
    14  	return []string{}
    15  }
    16  
    17  func (e *ErrMessageTooLong) beforeSave() {}
    18  
    19  // +checklocksignore
    20  func (e *ErrMessageTooLong) StateSave(stateSinkObject state.Sink) {
    21  	e.beforeSave()
    22  }
    23  
    24  func (e *ErrMessageTooLong) afterLoad() {}
    25  
    26  // +checklocksignore
    27  func (e *ErrMessageTooLong) StateLoad(stateSourceObject state.Source) {
    28  }
    29  
    30  func init() {
    31  	state.Register((*ErrMessageTooLong)(nil))
    32  }