code: func (e *Endpoint) DeliverNetworkPacket(linkEP stack.LinkEndpoint, remote, local tcpip.LinkAddress, protocol tcpip.NetworkProtocolNumber, vv buffer.VectorisedView) {
  	if !e.dispatchGate.Enter() {
  		return
  	}
  
  	e.dispatcher.DeliverNetworkPacket(e, remote, local, protocol, vv)
  	e.dispatchGate.Leave()
  }
docs: // DeliverNetworkPacket implements stack.NetworkDispatcher.DeliverNetworkPacket.
  // It is called by the link-layer endpoint being wrapped when a packet arrives,
  // and only forwards to the actual dispatcher if Wait or WaitDispatch haven't
  // been called.