Lines Matching defs:sockin
968 struct sockaddr_in sockin;
977 memset (&sockin, 0, sizeof(sockin));
1011 if (res->ai_addrlen > sizeof(sockin)) {
1016 memcpy (&sockin, res->ai_addr, res->ai_addrlen);
1017 sockin.sin_port = htons (port);
1018 addr = (struct sockaddr *)&sockin;
1099 sockin.sin_family = h->h_addrtype;
1100 sockin.sin_addr = ia;
1101 sockin.sin_port = (u_short)htons ((unsigned short)port);
1102 addr = (struct sockaddr *) &sockin;