Home
last modified time | relevance | path

Searched refs:NetDeviceImpl (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/network/common/netdevice/
H A Dnet_device_impl.h19 struct NetDeviceImpl { struct
31 int32_t (*init)(struct NetDeviceImpl *netDevice); argument
32 int32_t (*deInit)(struct NetDeviceImpl *netDevice);
33 int32_t (*add)(struct NetDeviceImpl *netDevice);
34 int32_t (*delete)(struct NetDeviceImpl *netDevice);
42 int32_t (*dhcpsStop)(struct NetDeviceImpl *netDevice);
43 int32_t (*dhcpStart)(struct NetDeviceImpl *netDevice);
44 int32_t (*dhcpStop)(struct NetDeviceImpl *netDevice);
53 void (*start_queue)(struct NetDeviceImpl *impl);
54 void (*disable_tx)(struct NetDeviceImpl *impl);
[all …]
H A Dnet_device.c62 struct NetDeviceImpl *ndImpl = NULL; in InitNetDeviceImpl()
66 ndImpl = (struct NetDeviceImpl *)OsalMemCalloc(sizeof(struct NetDeviceImpl)); in InitNetDeviceImpl()
81 static void DeInitNetDeviceImpl(struct NetDeviceImpl *netDeviceImpl) in DeInitNetDeviceImpl()
108 struct NetDeviceImpl *ndImpl = NULL; in GetImplByNetDevice()
126 struct NetDeviceImpl *impl = NULL; in GetLinuxInfByNetDevice()
150 struct NetDeviceImpl *ndImpl = NULL; in NetDeviceInit()
200 struct NetDeviceImpl *ndImpl = NULL; in NetDeviceDeInit()
220 struct NetDeviceImpl *ndImpl = GetImplByNetDevice(netDevice); in NetDeviceAdd()
237 struct NetDeviceImpl *ndImpl = GetImplByNetDevice(netDevice); in NetDeviceDelete()
330 struct NetDeviceImpl *ndImpl = GetImplByNetDevice(netDevice); in NetIfSetAddr()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnet_device_adapter.c57 static int32_t LiteNetDevInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevInit()
75 static int32_t LiteNetDevDeInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevDeInit()
112 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSendCheck()
125 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSend()
153 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSetHwaddr()
242 struct NetDeviceImpl *netDeviceImpl = (struct NetDeviceImpl *)netif->state; in LiteNetifLinkChangeCallback()
249 static int32_t LiteNetDevAdd(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevAdd()
317 static int32_t LiteNetDevDelete(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevDelete()
508 static int32_t LiteNetDhcpStop(struct NetDeviceImpl *netDeviceImpl) in LiteNetDhcpStop()
574 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in RegisterNetDeviceImpl()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnet_device_adapter.c82 static int32_t LiteNetDevInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevInit()
98 static int32_t LiteNetDevDeInit(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevDeInit()
135 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSendCheck()
148 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSend()
176 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSetHwaddr()
264 struct NetDeviceImpl *netDeviceImpl = (struct NetDeviceImpl *)netif->state; in LiteNetifLinkChangeCallback()
286 static int32_t LiteNetDevAdd(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevAdd()
356 static int32_t LiteNetDevDelete(struct NetDeviceImpl *netDeviceImpl) in LiteNetDevDelete()
547 static int32_t LiteNetDhcpStop(struct NetDeviceImpl *netDeviceImpl) in LiteNetDhcpStop()
613 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in RegisterNetDeviceImpl()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/network/src/
H A Dnet_device_adapter.c179 static int32_t NetDevInit(struct NetDeviceImpl *impl) in NetDevInit()
204 static int32_t NetDevDeInit(struct NetDeviceImpl *impl) in NetDevDeInit()
222 static int32_t NetDevAdd(struct NetDeviceImpl *impl) in NetDevAdd()
251 static int32_t NetDevDelete(struct NetDeviceImpl *impl) in NetDevDelete()
309 static void NetDevStartQueue(struct NetDeviceImpl *impl) in NetDevStartQueue()
318 static void NetDevDisableTx(struct NetDeviceImpl *impl) in NetDevDisableTx()
332 static void NetDevWakeQueue(struct NetDeviceImpl *impl) in NetDevWakeQueue()
351 static int32_t NetDevSetStatus(struct NetDeviceImpl *impl, in NetDevSetStatus()
386 static int32_t NetDevReceive(struct NetDeviceImpl *impl, in NetDevReceive()
450 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in RegisterNetDeviceImpl()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/network/include/
H A Dnet_device_adapter.h32 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl);
33 int32_t UnRegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl);
37 struct NetDeviceImpl *impl;
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/include/
H A Dnet_device_adapter.h42 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl);
43 int32_t UnRegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl);
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/include/
H A Dnet_device_adapter.h42 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl);
43 int32_t UnRegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl);