Searched refs:strAddr (Results 1 – 1 of 1) sorted by relevance
330 StatusOr<int> convertToXfrmAddr(const std::string& strAddr, xfrm_address_t* xfrmAddr) { in convertToXfrmAddr() argument331 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()