Searched refs:serverAddr (Results 1 – 2 of 2) sorted by relevance
55 struct sockaddr_in serverAddr; in init() local56 bzero((char*)&serverAddr, sizeof(serverAddr)); in init()57 serverAddr.sin_family = AF_INET; in init()58 serverAddr.sin_port = htons(port); in init()59 if (inet_pton(AF_INET, hostIp, &serverAddr.sin_addr) != 1) { in init()64 if (connect(mSocket, (struct sockaddr *)&serverAddr, sizeof(serverAddr)) < 0) { in init()
401 String serverAddr = testIpv6 ? TEST_SERVER_ADDR_V6 : TEST_SERVER_ADDR_V4; in checkStartStopVpnProfileBuildsNetworks() local410 buildIkev2VpnProfilePsk(serverAddr, true /* isRestrictedToTestNetworks */); in checkStartStopVpnProfileBuildsNetworks()