NetDeviceInterFace

Overview

Related Modules:

WLAN

Description:

Defines interfaces that need to be implemented externally by network devices, including initializing, opening, and closing a network device.

Since:

1.0

Summary

Data Fields

Variable Name

Description

init )(struct NetDevicenetDev)

int32_t( 

deInit )(struct NetDevicenetDev)

void( 

open )(struct NetDevicenetDev)

int32_t( 

stop )(struct NetDevicenetDev)

int32_t( 

xmit )(struct NetDevicenetDev, struct NetBufnetBuff)

NetDevTxResult( 

ioctl )(struct NetDevice netDev, IfReqreq, int32_t cmd)

int32_t( 

setMacAddr )(struct NetDevicenetDev, void addr)

int32_t( 

getStats )(struct NetDevice netDev)

struct NetDevStats ( 

setNetIfStatus )(struct NetDevicenetDev, NetIfStatus status)

void( 

selectQueue )(struct NetDevicenetDev, struct NetBufnetBuff)

uint16_t( 

netifNotify )(struct NetDevice netDev, NetDevNotifynotify)

uint32_t( 

changeMtu )(struct NetDevicenetDev, int32_t newMtu)

int32_t( 

specialEtherTypeProcess )(const struct NetDevicenetDev, struct NetBufbuff)

ProcessingResult(*