Home
last modified time | relevance | path

Searched refs:IFNAMSIZ (Results 1 - 25 of 33) sorted by relevance

12

/drivers/peripheral/wlan/hostapd/client/include/
H A Dhostapd_client.h28 #define IFNAMSIZ 16 macro
52 char ifName[IFNAMSIZ + 1];
/drivers/peripheral/wlan/test/hdi_service/
H A Dwlan_hdi_types.h61 #ifndef IFNAMSIZ
62 #define IFNAMSIZ 16 macro
H A Dwlan_hdi_direct_test.cpp321 char ifNames[IFNAMSIZ] = {0}; in HWTEST_F()
323 int32_t rc = g_wlanObj->GetIfNamesByChipId(g_wlanObj, chipId, nullptr, IFNAMSIZ, &num); in HWTEST_F()
325 rc = g_wlanObj->GetIfNamesByChipId(g_wlanObj, chipId, ifNames, IFNAMSIZ, nullptr); in HWTEST_F()
327 rc = g_wlanObj->GetIfNamesByChipId(g_wlanObj, chipId, ifNames, IFNAMSIZ, &num); in HWTEST_F()
340 char ifNames[IFNAMSIZ] = {0}; in HWTEST_F()
344 int32_t rc = g_wlanObj->GetNetworkIfaceName(g_wlanObj, nullptr, ifNames, IFNAMSIZ); in HWTEST_F()
347 rc = g_wlanObj->GetNetworkIfaceName(g_wlanObj, &ifeature, ifNames, IFNAMSIZ); in HWTEST_F()
350 rc = g_wlanObj->GetNetworkIfaceName(g_wlanObj, &ifeature, nullptr, IFNAMSIZ); in HWTEST_F()
352 rc = g_wlanObj->GetNetworkIfaceName(g_wlanObj, &ifeature, ifNames, IFNAMSIZ); in HWTEST_F()
/drivers/hdf_core/framework/model/usb/include/
H A Dhdf_usb_net_manager.h17 #define IFNAMSIZ 16 macro
57 char name[IFNAMSIZ]; /**< Network device name {@link IFNAMSIZ} */
/drivers/peripheral/usb/hdf_usb/include/
H A Dhdf_usb_net_manager.h17 #define IFNAMSIZ 16 macro
57 char name[IFNAMSIZ]; /**< Network device name {@link IFNAMSIZ} */
/drivers/hdf_core/framework/model/network/wifi/platform/src/
H A Dhdf_wlan_utils.c77 char ifName[IFNAMSIZ] = ""; in RenewNetDevice()
89 if (strcpy_s(ifName, IFNAMSIZ, (*netDev)->name) != EOK) { in RenewNetDevice()
145 char ifName[IFNAMSIZ] = {0}; in AllocPlatformNetDevice()
169 ret = GetPlatformIfName(id, ifName, IFNAMSIZ); in AllocPlatformNetDevice()
258 bufferSize = IFNAMSIZ * (uint32_t)(*ifNameCount); in HdfWlanGetIfNames()
272 ret = GetPlatformIfName(i, ifNames + (j * IFNAMSIZ), IFNAMSIZ); in HdfWlanGetIfNames()
/drivers/peripheral/wlan/wpa/client/include/
H A Dwpa_client.h29 #ifndef IFNAMSIZ
30 #define IFNAMSIZ 16 macro
227 char ifName[IFNAMSIZ + 1];
/drivers/hdf_core/adapter/khdf/liteos/network/src/
H A Dnet_device_adapter.c222 if (strncpy_s(lwipNf->name, IFNAMSIZ, netDev->name, IFNAMSIZ - FREE_SPACE_SIZE) != EOK) { in CreateLwipNetIf()
227 lwipNf->name[IFNAMSIZ - FREE_SPACE_SIZE] = '\0'; in CreateLwipNetIf()
277 if (strncpy_s(lwipNf->full_name, IFNAMSIZ, lwipNd->name, IFNAMSIZ - FREE_SPACE_SIZE) != EOK) { in AddP2pNetDev()
281 lwipNf->full_name[IFNAMSIZ - FREE_SPACE_SIZE] = '\0'; in AddP2pNetDev()
321 int32_t num = snprintf_s(lwipNd->name, IFNAMSIZ, (IFNAMSIZ - 1), "%s%" U16_F, lwipNf->name, lwipNf->num); in LiteNetDevAdd()
/drivers/hdf_core/framework/test/unittest/model/network/wifi/unittest/netdevice/
H A Dnet_device_test.c23 char devName[IFNAMSIZ] = {0}; in WiFiNetDeviceTestEnv()
24 if (strncpy_s(devName, IFNAMSIZ, "wlan_test_0", strlen("wlan_test_0") + 1) != EOK) { in WiFiNetDeviceTestEnv()
/drivers/peripheral/wlan/client/include/
H A Dwifi_driver_client.h33 #ifndef IFNAMSIZ
34 #define IFNAMSIZ 16 macro
222 char name[IFNAMSIZ];
253 char ifName[IFNAMSIZ];
548 uint8_t ifName[IFNAMSIZ];
553 uint8_t ifName[IFNAMSIZ];
/drivers/peripheral/wlan/test/fuzztest/
H A Dwlan_common_fuzzer.cpp127 char ifNames[IFNAMSIZ] = {0}; in FuzzGetNetworkIfaceName()
132 interface->GetNetworkIfaceName(interface, &feature, ifNames, IFNAMSIZ); in FuzzGetNetworkIfaceName()
184 char ifNames[IFNAMSIZ] = {0}; in FuzzGetIfNamesByChipId()
187 interface->GetIfNamesByChipId(interface, chipId, ifNames, IFNAMSIZ, &num); in FuzzGetIfNamesByChipId()
H A Dhostapd_common_fuzzer.h25 #define IFNAMSIZ 16 macro
H A Dwlan_common_fuzzer.h26 #define IFNAMSIZ 16 macro
H A Dwpa_common_fuzzer.h25 #define IFNAMSIZ 16 macro
/drivers/peripheral/wlan/hdi_service/service_common/
H A Dwlan_common_cmd.c165 ret = strcpy_s((g_apFeature->baseFeature).ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceDestroyFeature()
182 ret = strcpy_s((g_staFeature->baseFeature).ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceDestroyFeature()
199 ret = strcpy_s((g_p2pFeature->baseFeature).ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceDestroyFeature()
228 ret = strcpy_s((g_apFeature->baseFeature).ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceGetAssociatedStas()
302 ret = strcpy_s(baseFeature->ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceGetChipId()
327 ret = strcpy_s(baseFeature->ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceGetDeviceMacAddress()
410 ret = strcpy_s(baseFeature->ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceGetFreqsWithBand()
476 ret = strcpy_s(baseFeature->ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceGetNetworkIfaceName()
1025 ret = strcpy_s((g_apFeature->baseFeature).ifName, IFNAMSIZ, ifeature->ifName); in WlanInterfaceSetCountryCode()
1053 ret = strcpy_s(baseFeature->ifName, IFNAMSIZ, ifeatur in WlanInterfaceSetMacAddress()
[all...]
/drivers/peripheral/wlan/client/src/
H A Dwifi_common_cmd.h160 char ifName[IFNAMSIZ + 1];
165 char ifName[IFNAMSIZ + 1];
H A Dwifi_driver_client.c108 if (strcpy_s(callbackEvent->ifName, IFNAMSIZ, ifName) != RET_CODE_SUCCESS) { in WifiRegisterEventCallback()
201 if (strcpy_s(event->ifName, IFNAMSIZ + 1, ifName) != RET_CODE_SUCCESS) { in WifiRegisterHid2dCallback()
/drivers/hdf_core/adapter/khdf/liteos_m/network/src/
H A Dnet_device_adapter.c200 if (strncpy_s(lwipNf->name, IFNAMSIZ, netDev->name, IFNAMSIZ - FREE_SPACE_SIZE) != EOK) { in CreateLwipNetIf()
205 lwipNf->name[IFNAMSIZ - FREE_SPACE_SIZE] = '\0'; in CreateLwipNetIf()
281 int32_t num = snprintf_s(lwipNd->name, IFNAMSIZ, (IFNAMSIZ - 1), "%s%" U16_F, lwipNf->name, lwipNf->num); in LiteNetDevAdd()
/drivers/peripheral/wlan/hostapd/client/src/
H A Dhostapd_client.c64 if (strcpy_s(callbackEvent->ifName, IFNAMSIZ, ifName) != 0) { in HostapdRegisterEventCallback()
/drivers/peripheral/wlan/wpa/client/src/
H A Dwpa_client.c64 if (strcpy_s(callbackEvent->ifName, IFNAMSIZ, ifName) != 0) { in WpaRegisterEventCallback()
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/
H A Dwpa_hdi_util.c124 if (strcpy_s(ifr.ifr_name, IFNAMSIZ, ifaceName) != EOK) { in GetIfaceState()
/drivers/hdf_core/framework/model/network/ethernet/src/
H A Deth_device.c43 char ethIfName[IFNAMSIZ] = {0}; in CreateEthDevice()
54 ret = GetEthIfName(configEthDevList, ethIfName, IFNAMSIZ); in CreateEthDevice()
/drivers/hdf_core/framework/model/network/wifi/include/
H A Dhdf_wifi_cmd.h216 uint8_t ifName[IFNAMSIZ];
221 uint8_t ifName[IFNAMSIZ];
/drivers/peripheral/wlan/client/src/sbuf/
H A Dsbuf_cmd_adapter.c58 if (strncpy_s(result->infos[i].name, IFNAMSIZ, ifName, strlen(ifName)) != EOK) { in ParserNetworkInfo()
614 *ifNames = (char *)calloc(*num, IFNAMSIZ); in GetIfNames()
621 replayDataSize < (*num * IFNAMSIZ)) { in GetIfNames()
629 if (memcpy_s(*ifNames + i * IFNAMSIZ, IFNAMSIZ, replayData + i * IFNAMSIZ, replayDataSize) != EOK) { in GetIfNames()
/drivers/peripheral/wlan/hostapd/interfaces/hdi_service/service_common/
H A Dhdi_hostapd_hal.c69 #define IFNAMSIZ 16 macro
268 if (strcpy_s(ifr.ifr_name, IFNAMSIZ, ifaceName) != EOK) { in GetIfaceState()
573 wrq->ifr_name[IFNAMSIZ - 1] = '\0'; in SendPrivateCmd()
604 wrq.ifr_name[IFNAMSIZ - 1] = '\0'; in SetCommandHwHisi()

Completed in 19 milliseconds

12