Go to the documentation of this file.
18 #ifndef __LIBNET_NETWORKSOCKET_H
19 #define __LIBNET_NETWORKSOCKET_H
49 const Size packetSize,
virtual FileSystem::Result process(const NetworkQueue::Packet *pkt)=0
Process incoming network packet.
u32 ProcessID
Process Identification Number.
Networking packet queue implementation.
Represents a file present on a FileSystem.
NetworkQueue m_receive
Receive queue.
ProcessID getProcessID() const
Get owner ProcessID.
NetworkSocket(const u32 inode, const Size packetSize, const ProcessID pid)
Constructor.
NetworkClient::SocketInfo m_info
Socket connection.
virtual ~NetworkSocket()
Destructor.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
NetworkQueue m_transmit
Transmit queue.
Network socket represents a single logical connection on a protocol.
Result
Result code for filesystem Actions.
Represents a network packet.
const ProcessID m_pid
ProcessID which owns this socket.