Classes | Public Member Functions | Public Attributes

HostNe2kVnet Class Reference

Host ne2k driver. More...

Inheritance diagram for HostNe2kVnet:
StaticReceiver< HostNe2kVnet > Device

List of all members.

Classes

class  TxDone

Public Member Functions

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

Public Attributes

HostNe2kVnet::TxDone _tx_done

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

HostNe2kVnet::HostNe2kVnet ( DBus< MessageVirtualNet > &  bus_vnet,
DBus< MessageIOIn > &  bus_hwioin,
DBus< MessageIOOut > &  bus_hwioout,
Clock clock,
unsigned short  port,
unsigned  irq 
) [inline]

Member Function Documentation

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

Member Data Documentation


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