Lines Matching refs:sin
182 struct sockaddr_in *sin;
202 sin = (struct sockaddr_in *)&cookiecache[ninitiator].iaddr;
204 sin->sin_len = sizeof(struct sockaddr_in);
206 sin->sin_family = AF_INET;
207 memcpy(&sin->sin_addr, &ip->ip_src, sizeof(ip->ip_src));
208 sin = (struct sockaddr_in *)&cookiecache[ninitiator].raddr;
210 sin->sin_len = sizeof(struct sockaddr_in);
212 sin->sin_family = AF_INET;
213 memcpy(&sin->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst));
252 struct sockaddr_in *sin;
263 sin = (struct sockaddr_in *)&ss;
265 sin->sin_len = sizeof(struct sockaddr_in);
267 sin->sin_family = AF_INET;
268 memcpy(&sin->sin_addr, &ip->ip_src, sizeof(ip->ip_src));