Searched refs:xfrmAddr (Results 1 – 1 of 1) sorted by relevance
331 StatusOr<int> convertToXfrmAddr(const std::string& strAddr, xfrm_address_t* xfrmAddr) { in convertToXfrmAddr() argument333 memset(xfrmAddr, 0, sizeof(*xfrmAddr)); in convertToXfrmAddr()337 if (inet_pton(AF_INET6, strAddr.c_str(), reinterpret_cast<void*>(xfrmAddr))) { in convertToXfrmAddr()339 } else if (inet_pton(AF_INET, strAddr.c_str(), reinterpret_cast<void*>(xfrmAddr))) { in convertToXfrmAddr()