11#ifndef __NCM_INTERFACE_H
12#define __NCM_INTERFACE_H
16#include <netinterface.h>
Used to store and manipulate MAC addresses.
Definition nettypes.h:69
Network interface block for NCM USB device.
Definition src/ncm_interface.h:30
virtual void send_func(PoolPtr poolPtr) override
Send function - called by network stack to transmit.
void LinkToDevice()
Register interface and link to NCM device Called after RegisterInterface() to update the device with ...
virtual int LinkSpeed() override
Returns link speed in Mbps.
virtual void EnableMulticast(MACADR macAddress, BOOL addAddress) override
Enable or disable multicast address reception.
void SetLinkSpeed(int speed)
Set the link speed.
virtual bool bNeedsArp() override
Check if this interface needs ARP.
virtual bool LinkActive() override
Returns current link status.
NcmInterfaceBlock(const char *name, dCDC_NCM *pDevice)
Constructor.
void SetMACAddress(const MACADR &mac)
Set the MAC address for this interface.
virtual bool LinkDuplex() override
Returns duplex mode.
dCDC_NCM * GetNcmDevice()
Get the associated NCM device.
Definition ueue/src/ncm_interface.h:103
USB CDC NCM Device Class for Ethernet-over-USB.
Definition src/usbd_cdc_ncm.h:63
Main buffer structure for network and serial communication.
Definition buffers.h:90