Lines Matching refs:ai_protocol
269 pai->ai_protocol = GAI_ANY; in getaddrinfo()
298 switch (pai->ai_protocol) { in getaddrinfo()
315 if (pai->ai_protocol != IPPROTO_UDP && in getaddrinfo()
316 pai->ai_protocol != GAI_ANY) in getaddrinfo()
318 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo()
321 if (pai->ai_protocol != IPPROTO_TCP && in getaddrinfo()
322 pai->ai_protocol != GAI_ANY) in getaddrinfo()
324 pai->ai_protocol = IPPROTO_TCP; in getaddrinfo()
340 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo()
368 pai->ai_protocol = IPPROTO_UDP; in getaddrinfo()
371 pai->ai_protocol = IPPROTO_TCP; in getaddrinfo()