Lines Matching refs:deviceName
1351 netdutils::Status XfrmController::ipSecAddTunnelInterface(const std::string& deviceName, in ipSecAddTunnelInterface() argument
1357 ALOGD("deviceName=%s", deviceName.c_str()); in ipSecAddTunnelInterface()
1368 return ipSecAddXfrmInterface(deviceName, interfaceId, flags); in ipSecAddTunnelInterface()
1370 return ipSecAddVirtualTunnelInterface(deviceName, localAddress, remoteAddress, ikey, okey, in ipSecAddTunnelInterface()
1375 netdutils::Status XfrmController::ipSecAddXfrmInterface(const std::string& deviceName, in ipSecAddXfrmInterface() argument
1379 if (deviceName.empty()) { in ipSecAddXfrmInterface()
1449 strlcpy(xfrmIntfCreateReq.ifName, deviceName.c_str(), IFNAMSIZ); in ipSecAddXfrmInterface()
1464 netdutils::Status XfrmController::ipSecAddVirtualTunnelInterface(const std::string& deviceName, in ipSecAddVirtualTunnelInterface() argument
1471 if (deviceName.empty() || localAddress.empty() || remoteAddress.empty()) { in ipSecAddVirtualTunnelInterface()
1497 char iflaIfNameStrValue[deviceName.length() + 1]; in ipSecAddVirtualTunnelInterface()
1499 strlcpy(iflaIfNameStrValue, deviceName.c_str(), sizeof(iflaIfNameStrValue)); in ipSecAddVirtualTunnelInterface()
1589 netdutils::Status XfrmController::ipSecRemoveTunnelInterface(const std::string& deviceName) { in ipSecRemoveTunnelInterface() argument
1591 ALOGD("deviceName=%s", deviceName.c_str()); in ipSecRemoveTunnelInterface()
1593 if (deviceName.empty()) { in ipSecRemoveTunnelInterface()
1601 char iflaIfNameStrValue[deviceName.length() + 1]; in ipSecRemoveTunnelInterface()
1603 strlcpy(iflaIfNameStrValue, deviceName.c_str(), sizeof(iflaIfNameStrValue)); in ipSecRemoveTunnelInterface()
1620 return netdutils::statusFromErrno(ret, "Error in deleting IpSec interface " + deviceName); in ipSecRemoveTunnelInterface()