Home
last modified time | relevance | path

Searched defs:NetDeviceInterFace (Results 1 – 1 of 1) sorted by relevance

/drivers/hdf_core/framework/include/net/
Dnet_device.h497 struct NetDeviceInterFace { struct
498 int32_t (*init)(struct NetDevice *netDev); /**< Initializes a network device to be added. */
499 void (*deInit)(struct NetDevice *netDev); /**< Deinitializes a network device to be delete. */
500 int32_t (*open)(struct NetDevice *netDev); /**< Opens the data link layer. */
501 int32_t (*stop)(struct NetDevice *netDev); /**< Closes the data link layer. */
502 NetDevTxResult (*xmit)(struct NetDevice *netDev, NetBuf *netBuff); /**< Sends data. */
503 …struct NetDevice *netDev, IfReq *req, int32_t cmd); /**< Used for the control command word. */
504 …2_t (*setMacAddr)(struct NetDevice *netDev, void *addr); /**< Sets the MAC address. */
505 … NetDevStats *(*getStats)(struct NetDevice *netDev); /**< Obtains the statistics. */
506 …tIfStatus)(struct NetDevice *netDev, NetIfStatus status); /**< Sets the network port status. */
[all …]