Lines Matching refs:inaddr
554 struct sockaddr_in inaddr; /* IP socket */
594 inaddr.sin_family = hp->h_addrtype;
600 inaddr.sin_addr = t;
603 memmove ((char *)&inaddr.sin_addr, (char *)hp->h_addr,
604 sizeof(inaddr.sin_addr));
609 inaddr.sin_addr = hostinetaddr;
611 inaddr.sin_addr.s_addr = hostinetaddr;
613 inaddr.sin_family = AF_INET;
616 addr = (struct sockaddr *) &inaddr;
618 inaddr.sin_port = (iagent == 0) ? CSDPSPORT : iagent;
619 inaddr.sin_port = htons (inaddr.sin_port); /* may be funky macro */
665 len = sizeof(inaddr.sin_addr);
669 cp = (char *) &inaddr.sin_addr;
671 len = sizeof(inaddr.sin_addr.s_addr);
672 cp = (char *) &inaddr.sin_addr.s_addr;