Go to the documentation of this file.
18 #ifndef __LIB_LIBNET_ARPSOCKET_H
19 #define __LIB_LIBNET_ARPSOCKET_H
virtual ~ARPSocket()
Destructor.
virtual FileSystem::Result process(const NetworkQueue::Packet *pkt)
Process incoming network packet.
Address Resolution Protocol (ARP) socket.
Ethernet::Address m_ethAddr
Ethernet address for reply.
Ethernet network address.
IPV4::Address m_ipAddr
IPV4 address for request.
Abstract Input/Output buffer.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
Network socket represents a single logical connection on a protocol.
Result
Result code for filesystem Actions.
virtual FileSystem::Result write(IOBuffer &buffer, Size &size, const Size offset)
Send ARP request.
ARP * m_arp
ARP protocol instance.
Represents a network packet.
Address Resolution Protocol.
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Receive ARP response.
ARPSocket(const u32 inode, ARP *arp)
Constructor.