Lines Matching refs:gairesult
610 struct addrinfo *gairesult = NULL; in user_init_socket_fds() local
659 gairet = getaddrinfo(src, srcport, &dsthints, &gairesult); in user_init_socket_fds()
660 if ((gairet != 0) || (gairesult == NULL)) { in user_init_socket_fds()
667 fd = socket(gairesult->ai_family, in user_init_socket_fds()
668 gairesult->ai_socktype, gairesult->ai_protocol); in user_init_socket_fds()
677 (struct sockaddr *) gairesult->ai_addr, in user_init_socket_fds()
678 gairesult->ai_addrlen)) { in user_init_socket_fds()
683 if (gairesult != NULL) in user_init_socket_fds()
684 freeaddrinfo(gairesult); in user_init_socket_fds()
686 gairesult = NULL; in user_init_socket_fds()
688 gairet = getaddrinfo(dst, dstport, &dsthints, &gairesult); in user_init_socket_fds()
689 if ((gairet != 0) || (gairesult == NULL)) { in user_init_socket_fds()
702 gairesult->ai_addrlen, UM_GFP_KERNEL); in user_init_socket_fds()
705 result->remote_addr_size = gairesult->ai_addrlen; in user_init_socket_fds()
708 gairesult->ai_addr, in user_init_socket_fds()
709 gairesult->ai_addrlen in user_init_socket_fds()
712 freeaddrinfo(gairesult); in user_init_socket_fds()
715 if (gairesult != NULL) in user_init_socket_fds()
716 freeaddrinfo(gairesult); in user_init_socket_fds()