Home
last modified time | relevance | path

Searched refs:gwMacAddr (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/dhcp/services/utils/src/
H A Ddhcp_common_utils.cpp95 char gwMacAddr[GATEWAY_MAC_LENTH] = {0}; in MacArray2Str() local
96 if (sprintf_s(gwMacAddr, sizeof(gwMacAddr), "%02x:%02x:%02x:%02x:%02x:%02x", macArray[MAC_INDEX_0], in MacArray2Str()
102 std::string ret = gwMacAddr; in MacArray2Str()
H A Ddhcp_arp_checker.cpp205 std::string gwMacAddr = MacArray2Str(respPacket->ar_sha, ETH_ALEN); in GetGwMacAddrList() local
206 SaveGwMacAddr(gwMacAddr, gwMacLists); in GetGwMacAddrList()
215 void DhcpArpChecker::SaveGwMacAddr(std::string gwMacAddr, std::vector<std::string>& gwMacLists) in SaveGwMacAddr() argument
217 auto it = std::find(gwMacLists.begin(), gwMacLists.end(), gwMacAddr); in SaveGwMacAddr()
218 if (!gwMacAddr.empty() && (it == gwMacLists.end())) { in SaveGwMacAddr()
219 gwMacLists.push_back(gwMacAddr); in SaveGwMacAddr()
/foundation/communication/dhcp/services/utils/include/
H A Ddhcp_arp_checker.h56 void SaveGwMacAddr(std::string gwMacAddr, std::vector<std::string>& gwMacLists);

Completed in 2 milliseconds