Lines Matching defs:socktype
93 malloc_ai(int port, unsigned long addr, int socktype, int proto)
110 ai->ai_socktype = socktype;
155 int i, port = 0, socktype, proto;
160 socktype = (hints && hints->ai_socktype) ? hints->ai_socktype
165 switch (socktype) {
184 switch (socktype) {
203 *res = malloc_ai(port, htonl(0x00000000), socktype, proto);
205 *res = malloc_ai(port, htonl(0x7f000001), socktype, proto);
217 *res = malloc_ai(port, in.s_addr, socktype, proto);
232 socktype, proto)) == NULL) {