45 DEBUG(
"pid = " << pid);
66 ERROR(
"failed to start DMA: result = " << (
int) result);
virtual FileSystem::Result initialize()
Initialize DeviceServer.
void registerDevice(Device *dev, const char *path)
Add a Device.
virtual bool retryRequests()
Retry any pending requests.
Network Device abstract class.
virtual FileSystem::Result startDMA()
Start DMA processing.
void unregisterSockets(const ProcessID pid)
Remove sockets for a process.
void registerNetworkDevice(NetworkDevice *dev)
Register network device.
virtual ~NetworkServer()
Destructor.
virtual bool retryRequests()
Starts DMA on NetworkDevices after all pending requests are done.
virtual FileSystem::Result initialize()
Initialize the NetworkServer.
virtual void onProcessTerminated(const ProcessID pid)
Called whenever another Process is terminated.
NetworkServer(const char *path)
Constructor.
NetworkDevice * m_device
Network device instance.
#define assert(exp)
Insert program diagnostics.
u32 ProcessID
Process Identification Number.
#define ERROR(msg)
Output an error message.
#define DEBUG(msg)
Output a debug message to standard output.
Result
Result code for filesystem Actions.