Home
last modified time | relevance | path

Searched refs:ndImpl (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/drivers/hdf_core/framework/model/network/common/netdevice/
H A Dnet_device.c185 ret = ndImpl->interFace->init(ndImpl); in NetDeviceInit()
331 if (ndImpl != NULL && ndImpl->interFace != NULL && ndImpl->interFace->setIpAddr != NULL) { in NetIfSetAddr()
343 if (ndImpl == NULL || ndImpl->interFace == NULL || ndImpl->interFace->receive == NULL) { in NetIfRxImpl()
404 if (ndImpl != NULL && ndImpl->interFace != NULL && ndImpl->interFace->setStatus != NULL) { in NetIfSetStatus()
462 ndImpl->interFace->start_queue(ndImpl); in NetIfStartQueue()
472 ndImpl->interFace->disable_tx(ndImpl); in NetIfDisableTx()
481 if (ndImpl != NULL && ndImpl->interFace != NULL && ndImpl->interFace->set_dev != NULL) { in NetIfSetDev()
482 ndImpl->interFace->set_dev(ndImpl, dev); in NetIfSetDev()
492 ndImpl->interFace->wake_queue(ndImpl); in NetIfWakeQueue()
547 return ndImpl->interFace->dhcpsStop(ndImpl); in NetIfDhcpsStop()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnet_device_adapter.c112 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSendCheck() local
113 if (ndImpl == NULL || ndImpl->netDevice == NULL) { in LwipSendCheck()
126 struct NetDevice *netDev = ndImpl->netDevice; in LwipSend()
156 if (ndImpl == NULL || ndImpl->netDevice == NULL) { in LwipSetHwaddr()
160 netDev = ndImpl->netDevice; in LwipSetHwaddr()
574 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in RegisterNetDeviceImpl() argument
576 if (ndImpl == NULL) { in RegisterNetDeviceImpl()
581 ndImpl->interFace = &g_liteNdImplOps; in RegisterNetDeviceImpl()
585 int32_t UnRegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in UnRegisterNetDeviceImpl() argument
587 if (ndImpl == NULL) { in UnRegisterNetDeviceImpl()
[all …]
/ohos5.0/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnet_device_adapter.c135 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSendCheck() local
136 if (ndImpl == NULL || ndImpl->netDevice == NULL) { in LwipSendCheck()
149 struct NetDevice *netDev = ndImpl->netDevice; in LwipSend()
179 if (ndImpl == NULL || ndImpl->netDevice == NULL) { in LwipSetHwaddr()
183 netDev = ndImpl->netDevice; in LwipSetHwaddr()
613 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in RegisterNetDeviceImpl() argument
615 if (ndImpl == NULL) { in RegisterNetDeviceImpl()
620 ndImpl->interFace = &g_liteNdImplOps; in RegisterNetDeviceImpl()
624 int32_t UnRegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in UnRegisterNetDeviceImpl() argument
626 if (ndImpl == NULL) { in UnRegisterNetDeviceImpl()
[all …]
/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);
/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);
/ohos5.0/drivers/hdf_core/adapter/khdf/linux/network/src/
H A Dnet_device_adapter.c450 int32_t RegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in RegisterNetDeviceImpl() argument
452 if (ndImpl == NULL) { in RegisterNetDeviceImpl()
456 ndImpl->interFace = &g_ndImplOps; in RegisterNetDeviceImpl()
461 int32_t UnRegisterNetDeviceImpl(struct NetDeviceImpl *ndImpl) in UnRegisterNetDeviceImpl() argument
463 if (ndImpl == NULL) { in UnRegisterNetDeviceImpl()
467 ndImpl->interFace = NULL; in UnRegisterNetDeviceImpl()