Home
last modified time | relevance | path

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

/test/xts/device_attest_lite/services/core/network/
Dattest_network.c178 memcpy_s(session->serverInfo.hostName, MAX_HOST_NAME_LEN, networkInfo->hostName, in CustomConfig()
179 strlen(networkInfo->hostName)) != 0 || in CustomConfig()
736 if (BuildOption(optionList, COAP_OPT_URI_HOST, sizeof(session->serverInfo.hostName), in TransOptions()
737 session->serverInfo.hostName) != 0) { in TransOptions()
1003 networkServerInfo->hostName, MAX_HOST_NAME_LEN, in SplitNetworkInfoSymbol()
1008 networkServerInfo->hostName, networkServerInfo->port); in SplitNetworkInfoSymbol()
1147 static int32_t MergeDomain(char* hostName, char* port, char** resultDomain) in MergeDomain() argument
1149 if (hostName == NULL || port == NULL || resultDomain == NULL) { in MergeDomain()
1156 int newDomainSize = strlen(hostName) + strlen(port) + strlen(CONNECTOR) + 1; in MergeDomain()
1163 if (strcat_s(newDomain, newDomainSize, hostName) != 0 || in MergeDomain()
[all …]
Dattest_channel.c190 ret = mbedtls_ssl_set_hostname(&(tlsConfig->sslCtx), session->serverInfo.hostName); in TLSSetupConfig()
226 session->serverInfo.hostName, session->serverInfo.port, MBEDTLS_NET_PROTO_TCP); in TLSConnect()
/test/xts/device_attest_lite/services/core/include/network/
Dattest_channel.h50 char hostName[MAX_HOST_NAME_LEN + 1]; member
/test/xts/device_attest/services/core/network/
Dattest_network.c233 msgHttpPack->reqHost = serverInfo->hostName; in BuildSocketInfo()
280 if (getaddrinfo(serverInfo->hostName, serverInfo->port, &hints, &returnAddr) != ATTEST_OK) { in InitAddrInfo()
1124 networkServerInfo->hostName, MAX_HOST_NAME_LEN, in SplitNetworkInfoSymbol()
1129 networkServerInfo->hostName, networkServerInfo->port); in SplitNetworkInfoSymbol()
1264 static int32_t MergeDomain(char* hostName, char* port, char** resultDomain) in MergeDomain() argument
1266 if (hostName == NULL || port == NULL || resultDomain == NULL) { in MergeDomain()
1273 if ((strlen(hostName) >= MAX_ATTEST_MALLOC_BUFF_SIZE) ||\ in MergeDomain()
1276 (strlen(hostName) + strlen(port) + strlen(CONNECTOR)) >= MAX_ATTEST_MALLOC_BUFF_SIZE) { in MergeDomain()
1279 int newDomainSize = strlen(hostName) + strlen(port) + strlen(CONNECTOR) + 1; in MergeDomain()
1286 if (strcat_s(newDomain, newDomainSize, hostName) != 0 || in MergeDomain()
[all …]
/test/xts/device_attest/services/core/include/network/
Dattest_network.h78 char hostName[MAX_HOST_NAME_LEN + 1]; member