virtual FileSystem::Result getAddress(Address *address)
Retrieve Ethernet address.
Ethernet * m_eth
Ethernet object pointer.
EthernetAddress(const u32 inode, Ethernet *eth)
Constructor.
virtual ~EthernetAddress()
Destructor.
Represents a file present on a FileSystem.
Ethernet networking protocol.
Ethernet network address.
Size m_size
Size of the file, in bytes.
Abstract Input/Output buffer.
virtual FileSystem::Result write(IOBuffer &buffer, Size &size, const Size offset)
Set new Ethernet address.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Read Ethernet address.
Result
Result code for filesystem Actions.
FileSystem::Result write(const void *buffer, const Size size, const Size offset=ZERO)
Write bytes to the I/O buffer.
struct Ethernet::Address Address
Ethernet network address.