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