Lines Matching full:sockaddr_in
132 struct sockaddr_in ftpAddr; /* the socket address struct */
860 int addrlen = sizeof (struct sockaddr_in);
923 ((struct sockaddr_in *) &ctxt->ftpAddr)->sin_port = htons (port);
941 sizeof(((struct sockaddr_in *)&ctxt->ftpAddr)->sin_addr)) {
949 ((struct sockaddr_in *)&ctxt->ftpAddr)->sin_family = AF_INET;
950 memcpy (&((struct sockaddr_in *)&ctxt->ftpAddr)->sin_addr,
952 ((struct sockaddr_in *)&ctxt->ftpAddr)->sin_port =
955 addrlen = sizeof (struct sockaddr_in);
1386 struct sockaddr_in dataAddr;
1402 ((struct sockaddr_in *)&dataAddr)->sin_family = AF_INET;
1403 dataAddrLen = sizeof (struct sockaddr_in);
1469 memcpy (&((struct sockaddr_in *)&dataAddr)->sin_addr, &ad[0], 4);
1470 memcpy (&((struct sockaddr_in *)&dataAddr)->sin_port, &ad[4], 2);
1485 ((struct sockaddr_in *)&dataAddr)->sin_port = 0;
1510 adp = (unsigned char *) &((struct sockaddr_in *)&dataAddr)->sin_addr;
1511 portp = (unsigned char *) &((struct sockaddr_in *)&dataAddr)->sin_port;