/drivers/peripheral/wlan/hostapd/client/include/ |
H A D | hostapd_client.h | 28 #define IFNAMSIZ 16 macro 52 char ifName[IFNAMSIZ + 1];
|
/drivers/peripheral/wlan/test/hdi_service/ |
H A D | wlan_hdi_types.h | 61 #ifndef IFNAMSIZ 62 #define IFNAMSIZ 16 macro
|
H A D | wlan_hdi_direct_test.cpp | 321 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 D | hdf_usb_net_manager.h | 17 #define IFNAMSIZ 16 macro 57 char name[IFNAMSIZ]; /**< Network device name {@link IFNAMSIZ} */
|
/drivers/peripheral/usb/hdf_usb/include/ |
H A D | hdf_usb_net_manager.h | 17 #define IFNAMSIZ 16 macro 57 char name[IFNAMSIZ]; /**< Network device name {@link IFNAMSIZ} */
|
/drivers/hdf_core/framework/model/network/wifi/platform/src/ |
H A D | hdf_wlan_utils.c | 77 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 D | wpa_client.h | 29 #ifndef IFNAMSIZ
30 #define IFNAMSIZ 16
macro 227 char ifName[IFNAMSIZ + 1];
|
/drivers/hdf_core/adapter/khdf/liteos/network/src/ |
H A D | net_device_adapter.c | 222 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 D | net_device_test.c | 23 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 D | wifi_driver_client.h | 33 #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 D | wlan_common_fuzzer.cpp | 127 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 D | hostapd_common_fuzzer.h | 25 #define IFNAMSIZ 16 macro
|
H A D | wlan_common_fuzzer.h | 26 #define IFNAMSIZ 16 macro
|
H A D | wpa_common_fuzzer.h | 25 #define IFNAMSIZ 16 macro
|
/drivers/peripheral/wlan/hdi_service/service_common/ |
H A D | wlan_common_cmd.c | 165 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 D | wifi_common_cmd.h | 160 char ifName[IFNAMSIZ + 1];
165 char ifName[IFNAMSIZ + 1];
|
H A D | wifi_driver_client.c | 108 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 D | net_device_adapter.c | 200 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 D | hostapd_client.c | 64 if (strcpy_s(callbackEvent->ifName, IFNAMSIZ, ifName) != 0) { in HostapdRegisterEventCallback()
|
/drivers/peripheral/wlan/wpa/client/src/ |
H A D | wpa_client.c | 64 if (strcpy_s(callbackEvent->ifName, IFNAMSIZ, ifName) != 0) {
in WpaRegisterEventCallback()
|
/drivers/peripheral/wlan/wpa/interfaces/hdi_service/service_common/ |
H A D | wpa_hdi_util.c | 124 if (strcpy_s(ifr.ifr_name, IFNAMSIZ, ifaceName) != EOK) { in GetIfaceState()
|
/drivers/hdf_core/framework/model/network/ethernet/src/ |
H A D | eth_device.c | 43 char ethIfName[IFNAMSIZ] = {0};
in CreateEthDevice() 54 ret = GetEthIfName(configEthDevList, ethIfName, IFNAMSIZ);
in CreateEthDevice()
|
/drivers/hdf_core/framework/model/network/wifi/include/ |
H A D | hdf_wifi_cmd.h | 216 uint8_t ifName[IFNAMSIZ]; 221 uint8_t ifName[IFNAMSIZ];
|
/drivers/peripheral/wlan/client/src/sbuf/ |
H A D | sbuf_cmd_adapter.c | 58 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 D | hdi_hostapd_hal.c | 69 #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()
|