Home
last modified time | relevance | path

Searched refs:ai_protocol (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/include/
Dnetdb.h121 int ai_protocol; /* 0 or IPPROTO_xxx for IPv4 and IPv6 */ member
/bionic/libc/netbsd/net/
Dgetaddrinfo.c361 pai->ai_protocol = ANY; in getaddrinfo()
392 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) { in getaddrinfo()
401 && pai->ai_protocol != ex->e_protocol) { in getaddrinfo()
448 if (!MATCH(pai->ai_protocol, ex->e_protocol, WILD_PROTOCOL(ex))) in getaddrinfo()
455 if (pai->ai_protocol == ANY && ex->e_protocol != ANY) in getaddrinfo()
456 pai->ai_protocol = ex->e_protocol; in getaddrinfo()
500 if (!MATCH(pai->ai_protocol, ex->e_protocol, in getaddrinfo()
507 if (pai->ai_protocol == ANY && ex->e_protocol != ANY) in getaddrinfo()
508 pai->ai_protocol = ex->e_protocol; in getaddrinfo()