Home
last modified time | relevance | path

Searched refs:strAddr (Results 1 – 1 of 1) sorted by relevance

/system/netd/server/
DXfrmController.cpp330 StatusOr<int> convertToXfrmAddr(const std::string& strAddr, xfrm_address_t* xfrmAddr) { in convertToXfrmAddr() argument
331 if (strAddr.length() == 0) { in convertToXfrmAddr()
336 if (inet_pton(AF_INET6, strAddr.c_str(), reinterpret_cast<void*>(xfrmAddr))) { in convertToXfrmAddr()
338 } else if (inet_pton(AF_INET, strAddr.c_str(), reinterpret_cast<void*>(xfrmAddr))) { in convertToXfrmAddr()