Lines Matching refs:af
33 int af;
69 int port = 69, sd = xsocket(TT.af, SOCK_DGRAM, IPPROTO_UDP);
76 if (TT.af == AF_INET6) {
285 if (TT.af == AF_INET6) ((struct sockaddr_in6 *)&server)->sin6_port = 0; in file_get()
293 if ( ((TT.af == AF_INET) && in file_get()
297 ((TT.af == AF_INET6) && in file_get()
305 if ( ((TT.af == AF_INET) && ((struct sockaddr_in *)&server)->sin_port in file_get()
308 ((TT.af == AF_INET6) && ((struct sockaddr_in6 *)&server)->sin6_port in file_get()
339 if ((TT.af == AF_INET6) && !((struct sockaddr_in6 *)&server)->sin6_port) in file_get()
342 else if ((TT.af == AF_INET) && !((struct sockaddr_in *)&server)->sin_port) in file_get()
447 TT.af = info->ai_family; in tftp_main()