Home
last modified time | relevance | path

Searched refs:srcMac (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util.h38 * @param srcMac - srcMac address
44 int ConvertMacArr2String(const unsigned char *srcMac, int srcMacSize, char *destMacStr, int strLen);
H A Dwifi_hdi_util.c1314 int ConvertMacArr2String(const unsigned char *srcMac, int srcMacSize, char *destMacStr, int strLen) in ConvertMacArr2String() argument
1316 if (srcMac == NULL || destMacStr == NULL || srcMacSize != MAC_UINT_SIZE || strLen <= MAC_STRING_SIZE) { in ConvertMacArr2String()
1325 if (snprintf_s(destMacStr, strLen, strLen - 1, "%02x:%02x:%02x:%02x:%02x:%02x", srcMac[srcMacPosZero], in ConvertMacArr2String()
1326 srcMac[srcMacPosOne], srcMac[srcMacPosTwo], srcMac[srcMacPosThree], srcMac[srcMacPosFour], in ConvertMacArr2String()
1327 srcMac[srcMacPosFive]) < 0) { in ConvertMacArr2String()
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/
H A Dwifi_hdi_util_test.cpp84 const unsigned char *srcMac; in HWTEST_F() local
89 int result = ConvertMacArr2String(srcMac, srcMacSize, destMacStr, strLen); in HWTEST_F()
93 result = ConvertMacArr2String(srcMac, 0, destMacStr, strLen); in HWTEST_F()
95 result = ConvertMacArr2String(srcMac, srcMacSize, nullptr, strLen); in HWTEST_F()
97 result = ConvertMacArr2String(srcMac, srcMacSize, nullptr, 0); in HWTEST_F()
107 unsigned char srcMac[MAC_SIZE] = {0x01, 0x02, 0x03, 0x04, 0x05, 0x06}; in HWTEST_F() local
109 int ret = ConvertMacArr2String(srcMac, MAC_SIZE, destMacStr, MAC_SIZE); in HWTEST_F()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dspunge.h111 FILLP_UINT8 srcMac[FILLP_MAC_ADDRESS_SIZE]; member

Completed in 5 milliseconds