Searched refs:netif (Results 1 - 6 of 6) sorted by relevance
/drivers/hdf_core/adapter/khdf/liteos/model/misc/dsoftbus/src/ |
H A D | softbus_lwip_monitor.c | 33 #include <lwip/netif.h>
74 static void NetifStatusCallback(struct netif *netif, netif_nsc_reason_t reason,
in NetifStatusCallback() argument 80 if (netif == NULL || args == NULL) {
in NetifStatusCallback() 84 dprintf("NetifStatusCallback(%s): nsc event: 0x%x\n", netif->full_name, (uint32_t)reason);
in NetifStatusCallback() 85 if (strncpy_s(reportInfo.ifName, NETIF_NAME_LENGTH, netif->full_name, strlen(netif->full_name)) != EOK) {
in NetifStatusCallback() 86 dprintf("NetifStatusCallback(%s): copy netif full name fail: %s\n", netif->full_name);
in NetifStatusCallback() 93 dprintf("NetifStatusCallback(%s): nsc status changed: %d\n", netif in NetifStatusCallback() [all...] |
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/ |
H A D | net_device_adapter.c | 33 #include <lwip/netif.h> 44 static int32_t SetNetIfLinkStatus(struct netif *lwipNf, NetIfLinkStatus status) in SetNetIfLinkStatus() 106 static int32_t LwipSendCheck(struct netif *netif, const struct pbuf *lwipBuf) in LwipSendCheck() argument 108 if (netif == NULL || lwipBuf == NULL) { in LwipSendCheck() 109 HDF_LOGE("%s : netif = NUll or lwipBuf = NULL!", __func__); in LwipSendCheck() 112 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSendCheck() 120 static void LwipSend(struct netif *netif, struct pbuf *lwipBuf) in LwipSend() argument 122 if (LwipSendCheck(netif, lwipBu in LwipSend() 143 LwipSetHwaddr(struct netif *netif, uint8_t *addr, uint8_t len) LwipSetHwaddr() argument 169 LwipDrvConfig(struct netif *netif, uint32_t conFlags, uint8_t bit) LwipDrvConfig() argument 237 LiteNetifLinkChangeCallback(struct netif *netif) LiteNetifLinkChangeCallback() argument [all...] |
/drivers/hdf_core/adapter/khdf/liteos/network/src/ |
H A D | net_device_adapter.c | 34 #include <lwip/netif.h> 56 static int32_t SetNetIfLinkStatus(struct netif *lwipNf, NetIfLinkStatus status) in SetNetIfLinkStatus() 129 static int32_t LwipSendCheck(struct netif *netif, const struct pbuf *lwipBuf) in LwipSendCheck() argument 131 if (netif == NULL || lwipBuf == NULL) { in LwipSendCheck() 132 HDF_LOGE("%s : netif = NUll or lwipBuf = NULL!", __func__); in LwipSendCheck() 135 struct NetDeviceImpl *ndImpl = (struct NetDeviceImpl *)netif->state; in LwipSendCheck() 143 static void LwipSend(struct netif *netif, struct pbuf *lwipBuf) in LwipSend() argument 145 if (LwipSendCheck(netif, lwipBu in LwipSend() 166 LwipSetHwaddr(struct netif *netif, uint8_t *addr, uint8_t len) LwipSetHwaddr() argument 192 LwipDrvConfig(struct netif *netif, uint32_t conFlags, uint8_t bit) LwipDrvConfig() argument 259 LiteNetifLinkChangeCallback(struct netif *netif) LiteNetifLinkChangeCallback() argument [all...] |
/drivers/hdf_core/adapter/khdf/liteos/network/include/ |
H A D | net_device_adapter.h | 46 struct netif *lwipNetif;
|
/drivers/hdf_core/adapter/khdf/liteos_m/network/include/ |
H A D | net_device_adapter.h | 46 struct netif *lwipNetif;
|
/drivers/hdf_core/framework/model/network/ethernet/include/ |
H A D | eth_device.h | 15 #include <lwip/netif.h>
|
Completed in 3 milliseconds