Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/sockets/
Dgetaddrinfo.c62 int socktype = SOCK_STREAM; in dns_resolve_cb() local
96 socktype = state->hints->ai_socktype; in dns_resolve_cb()
100 ai->ai_socktype = socktype; in dns_resolve_cb()
101 ai->ai_protocol = (socktype == SOCK_DGRAM) ? IPPROTO_UDP : IPPROTO_TCP; in dns_resolve_cb()
363 int socktype = SOCK_STREAM; in try_resolve_literal_addr() local
373 socktype = SOCK_DGRAM; in try_resolve_literal_addr()
398 res->ai_socktype = socktype; in try_resolve_literal_addr()