Home
last modified time | relevance | path

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

/external/libxml2/
Dnanoftp.c122 struct sockaddr_storage ftpAddr; /* this is large enough to hold IPv6 address*/ member
124 struct sockaddr_in ftpAddr; /* the socket address struct */ member
872 memset (&ctxt->ftpAddr, 0, sizeof(ctxt->ftpAddr)); in xmlNanoFTPConnect()
904 if ((size_t)tmp->ai_addrlen > sizeof(ctxt->ftpAddr)) { in xmlNanoFTPConnect()
911 memcpy (&ctxt->ftpAddr, tmp->ai_addr, tmp->ai_addrlen); in xmlNanoFTPConnect()
912 ((struct sockaddr_in6 *) &ctxt->ftpAddr)->sin6_port = htons (port); in xmlNanoFTPConnect()
916 memcpy (&ctxt->ftpAddr, tmp->ai_addr, tmp->ai_addrlen); in xmlNanoFTPConnect()
917 ((struct sockaddr_in *) &ctxt->ftpAddr)->sin_port = htons (port); in xmlNanoFTPConnect()
935 sizeof(((struct sockaddr_in *)&ctxt->ftpAddr)->sin_addr)) { in xmlNanoFTPConnect()
943 ((struct sockaddr_in *)&ctxt->ftpAddr)->sin_family = AF_INET; in xmlNanoFTPConnect()
[all …]