Lines Matching full:sockaddr_in
83 ((struct sockaddr_in *)server)->sin_family = AF_INET;
84 ((struct sockaddr_in *)server)->sin_addr.s_addr =
85 ((struct sockaddr_in *)&TT.inaddr)->sin_addr.s_addr;
86 ((struct sockaddr_in *)server)->sin_port = htons(port);
231 *port = ((struct sockaddr_in *)&from)->sin_port;
232 ((struct sockaddr_in *)server)->sin_port =
233 ((struct sockaddr_in *)&from)->sin_port;
235 if (((struct sockaddr_in *)server)->sin_addr.s_addr !=
236 ((struct sockaddr_in *)&from)->sin_addr.s_addr) {
240 if (*port != ((struct sockaddr_in *)server)->sin_port) {
286 else ((struct sockaddr_in *)&server)->sin_port = 0;
294 memcmp(&((struct sockaddr_in *)&server)->sin_addr,
295 &((struct sockaddr_in *)&from)->sin_addr,
305 if ( ((TT.af == AF_INET) && ((struct sockaddr_in *)&server)->sin_port
306 && (((struct sockaddr_in *)&server)->sin_port !=
307 ((struct sockaddr_in *)&from)->sin_port)) ||
342 else if ((TT.af == AF_INET) && !((struct sockaddr_in *)&server)->sin_port)
343 ((struct sockaddr_in *)&server)->sin_port =
344 ((struct sockaddr_in *)&from)->sin_port;