Lines Matching refs: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; in read_ack()
232 ((struct sockaddr_in *)server)->sin_port = in read_ack()
233 ((struct sockaddr_in *)&from)->sin_port; in read_ack()
235 if (((struct sockaddr_in *)server)->sin_addr.s_addr != in read_ack()
236 ((struct sockaddr_in *)&from)->sin_addr.s_addr) { in read_ack()
240 if (*port != ((struct sockaddr_in *)server)->sin_port) { in read_ack()
286 else ((struct sockaddr_in *)&server)->sin_port = 0; in file_get()
294 memcmp(&((struct sockaddr_in *)&server)->sin_addr, in file_get()
295 &((struct sockaddr_in *)&from)->sin_addr, in file_get()
305 if ( ((TT.af == AF_INET) && ((struct sockaddr_in *)&server)->sin_port in file_get()
306 && (((struct sockaddr_in *)&server)->sin_port != in file_get()
307 ((struct sockaddr_in *)&from)->sin_port)) || in file_get()
350 else if ((TT.af == AF_INET) && !((struct sockaddr_in *)&server)->sin_port) in file_get()
351 ((struct sockaddr_in *)&server)->sin_port = in file_get()
352 ((struct sockaddr_in *)&from)->sin_port; in file_get()