Searched refs:pxAddrList (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.4.0/components/freemodbus/tcp_master/port/ |
D | port_tcp_master.c | 454 struct addrinfo* pxAddrList; in xMBTCPPortMasterCheckHost() local 463 int xRet = getaddrinfo(pcHostStr, NULL, &xHint, &pxAddrList); in xMBTCPPortMasterCheckHost() 469 if (pxAddrList->ai_family == AF_INET) { in xMBTCPPortMasterCheckHost() 470 struct in_addr addr4 = ((struct sockaddr_in *) (pxAddrList->ai_addr))->sin_addr; in xMBTCPPortMasterCheckHost() 476 struct in6_addr addr6 = ((struct sockaddr_in6 *) (pxAddrList->ai_addr))->sin6_addr; in xMBTCPPortMasterCheckHost() 484 ESP_LOGI(TAG, "Host[IP]: \"%s\"[%s]", pxAddrList->ai_canonname, pcStr); in xMBTCPPortMasterCheckHost() 485 freeaddrinfo(pxAddrList); in xMBTCPPortMasterCheckHost() 519 struct addrinfo* pxAddrList; in xMBTCPPortMasterConnect() local 536 int xRet = getaddrinfo(pxInfo->pcIpAddr, pcStr, &xHint, &pxAddrList); in xMBTCPPortMasterConnect() 543 for (pxCurAddr = pxAddrList; pxCurAddr != NULL; pxCurAddr = pxCurAddr->ai_next) { in xMBTCPPortMasterConnect() [all …]
|
/hal_espressif-3.4.0/components/freemodbus/tcp_slave/port/ |
D | port_tcp_slave.c | 329 struct addrinfo* pxAddrList; in vMBTCPPortBindAddr() local 353 xRet = getaddrinfo(pcBindIp, pcStr, &xHint, &pxAddrList); in vMBTCPPortBindAddr() 361 for (pxCurAddr = pxAddrList; pxCurAddr != NULL; pxCurAddr = pxCurAddr->ai_next) in vMBTCPPortBindAddr() 406 freeaddrinfo(pxAddrList); in vMBTCPPortBindAddr()
|