Public Member Functions

HostNe2k Class Reference

Host ne2k driver. More...

Inheritance diagram for HostNe2k:
StaticReceiver< HostNe2k > Device

List of all members.

Public Member Functions

bool send_packet (const void *buffer, unsigned len)
void reset ()
bool receive (MessageNetwork &msg)
bool receive (MessageIrq &msg)
 HostNe2k (DBus< MessageIOIn > &bus_hwioin, DBus< MessageIOOut > &bus_hwioout, DBus< MessageNetwork > &bus_network, Clock *clock, unsigned short port, unsigned irq)

Detailed Description

Host ne2k driver.

Copyright (C) 2010, Bernhard Kauer <bk@vmmon.org> Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details. A simple ne2k pci driver, mainly used on qemu devices.

Features: reset, send, irq, receive, overflow-recover Missing: read counters, configuration of full-duplex modes State: testing Documentation: DP8390D, rtl8029, mx98905b


Constructor & Destructor Documentation

HostNe2k::HostNe2k ( DBus< MessageIOIn > &  bus_hwioin,
DBus< MessageIOOut > &  bus_hwioout,
DBus< MessageNetwork > &  bus_network,
Clock clock,
unsigned short  port,
unsigned  irq 
) [inline]

Member Function Documentation

bool HostNe2k::receive ( MessageNetwork msg  )  [inline]
bool HostNe2k::receive ( MessageIrq msg  )  [inline]
void HostNe2k::reset (  )  [inline]
bool HostNe2k::send_packet ( const void *  buffer,
unsigned  len 
) [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines