Home
last modified time | relevance | path

Searched refs:netif (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/dsoftbus/adapter/common/kernel/liteos_m/
H A Dlnn_ip_utils_adapter.c19 #include "lwip/netif.h"
28 struct netif *netif = NULL; in GetNetworkIpByIfName() local
34 netif = netif_find(ifName); in GetNetworkIpByIfName()
35 if (netif == NULL) { in GetNetworkIpByIfName()
36 COMM_LOGE(COMM_ADAPTER, "netif is NULL!"); in GetNetworkIpByIfName()
40 netifapi_netif_get_addr(netif, ipAddr, netMask, NULL); in GetNetworkIpByIfName()
42 ipAddr = (ip4_addr_t *)netif_ip4_addr(netif); in GetNetworkIpByIfName()
43 netMask = (ip4_addr_t *)netif_ip4_netmask(netif); in GetNetworkIpByIfName()
/foundation/communication/dsoftbus/adapter/common/bus_center/network/
H A Dlnn_lwip_monitor.c20 #include "lwip/netif.h"
27 struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) in NetifStatusCallback()
30 if (netif == NULL) { in NetifStatusCallback()
31 LNN_LOGE(LNN_BUILDER, "input netif is NULL"); in NetifStatusCallback()
38 char *ifName = lwip_if_indextoname(netif->num, ifnameBuffer); in NetifStatusCallback()
26 NetifStatusCallback( struct netif *netif, netif_nsc_reason_t reason, const netif_ext_callback_args_t *args) NetifStatusCallback() argument
/foundation/communication/dsoftbus/core/bus_center/lnn/net_buscenter/src/
H A Dlnn_network_manager.c142 LNN_LOGE(LNN_BUILDER, "netif type not supported. type=%{public}d", type); in NetifMgrFactory()
169 LNN_LOGW(LNN_BUILDER, "Create netif mgr. value1=%{public}s, value2=%{public}s", value1, value2); in ParseIfNameConfig()
172 LNN_LOGE(LNN_BUILDER, "Create netif mgr failed, value1=%{public}s, value2=%{public}s", value1, value2); in ParseIfNameConfig()
725 LNN_LOGE(LNN_INIT, "enable for netif failed. protocol=%{public}d, ifName=%{public}s", i, in LnnInitNetworkManagerDelay()
728 LNN_LOGI(LNN_INIT, "enable for netif success. protocol=%{public}d, ifName=%{public}s", i, item->ifName); in LnnInitNetworkManagerDelay()
792 LnnNetIfMgr *netif = NULL; in LnnGetNetIfTypeByName() local
793 LIST_FOR_EACH_ENTRY(netif, &g_netIfNameList, LnnNetIfMgr, node) { in LnnGetNetIfTypeByName()
794 if (strncmp(ifName, netif->ifName, sizeof(netif->ifName)) == 0) { in LnnGetNetIfTypeByName()
795 *type = netif in LnnGetNetIfTypeByName()
[all...]
/foundation/communication/dsoftbus/tests/core/discovery/dfinder/
H A Dnstackx_test.c22 #include "lwip/netif.h"
82 struct netif *wifiNetIf = NULL; in GetLocalWifiIp()
91 printf("netif find device failed.\n"); in GetLocalWifiIp()
96 printf("netif get ip addr failed, ret = %d.\n", ret); in GetLocalWifiIp()
/foundation/communication/ipc/ipc/test/rpc/socket_trans/src/
H A Drpc_mini_socket_trans.c25 #include "lwip/netif.h"
371 extern struct netif if_wifi; in GetSocketLocalDeviceID()

Completed in 3 milliseconds