• Home
  • Raw
  • Download

Lines Matching refs:dataAddr

1381     struct sockaddr_storage dataAddr;  in xmlNanoFTPGetConnection()  local
1383 struct sockaddr_in dataAddr; in xmlNanoFTPGetConnection() local
1389 memset (&dataAddr, 0, sizeof(dataAddr)); in xmlNanoFTPGetConnection()
1393 ((struct sockaddr_in6 *)&dataAddr)->sin6_family = AF_INET6; in xmlNanoFTPGetConnection()
1399 ((struct sockaddr_in *)&dataAddr)->sin_family = AF_INET; in xmlNanoFTPGetConnection()
1450 …memcpy (&((struct sockaddr_in6 *)&dataAddr)->sin6_addr, &((struct sockaddr_in6 *)&ctxt->ftpAddr)->… in xmlNanoFTPGetConnection()
1451 ((struct sockaddr_in6 *)&dataAddr)->sin6_port = htons (temp[0]); in xmlNanoFTPGetConnection()
1466 memcpy (&((struct sockaddr_in *)&dataAddr)->sin_addr, &ad[0], 4); in xmlNanoFTPGetConnection()
1467 memcpy (&((struct sockaddr_in *)&dataAddr)->sin_port, &ad[4], 2); in xmlNanoFTPGetConnection()
1470 if (connect(ctxt->dataFd, (struct sockaddr *) &dataAddr, dataAddrLen) < 0) { in xmlNanoFTPGetConnection()
1476 getsockname(ctxt->dataFd, (struct sockaddr *) &dataAddr, &dataAddrLen); in xmlNanoFTPGetConnection()
1479 ((struct sockaddr_in6 *)&dataAddr)->sin6_port = 0; in xmlNanoFTPGetConnection()
1482 ((struct sockaddr_in *)&dataAddr)->sin_port = 0; in xmlNanoFTPGetConnection()
1484 if (bind(ctxt->dataFd, (struct sockaddr *) &dataAddr, dataAddrLen) < 0) { in xmlNanoFTPGetConnection()
1489 getsockname(ctxt->dataFd, (struct sockaddr *) &dataAddr, &dataAddrLen); in xmlNanoFTPGetConnection()
1499 inet_ntop (AF_INET6, &((struct sockaddr_in6 *)&dataAddr)->sin6_addr, in xmlNanoFTPGetConnection()
1502 portp = (unsigned char *) &((struct sockaddr_in6 *)&dataAddr)->sin6_port; in xmlNanoFTPGetConnection()
1507 adp = (unsigned char *) &((struct sockaddr_in *)&dataAddr)->sin_addr; in xmlNanoFTPGetConnection()
1508 portp = (unsigned char *) &((struct sockaddr_in *)&dataAddr)->sin_port; in xmlNanoFTPGetConnection()