Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dnet_if.cpp48 int s = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0); in if_indextoname()
62 int s = socket(AF_INET, SOCK_DGRAM|SOCK_CLOEXEC, 0); in if_nametoindex()
Dlibc_logging.cpp459 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in __libc_open_log_socket()
/bionic/libc/include/sys/
Dsocket.h52 #define SOCK_DGRAM 1 macro
56 #define SOCK_DGRAM 2 macro
/bionic/libc/dns/net/
Dgetaddrinfo.c176 { PF_INET6, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
180 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
183 { PF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
878 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null()
1162 case SOCK_DGRAM: in get_port()
1189 case SOCK_DGRAM: in get_port()
1800 sock = socket(addr->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); in _find_src_addr()
/bionic/tests/
Difaddrs_test.cpp119 int fd = socket(AF_INET, SOCK_DGRAM, 0); in CheckAddressIsInSet()
Dnetdb_test.cpp60 } else if (p->ai_socktype == SOCK_DGRAM) { in TEST()
/bionic/libc/dns/resolv/
Dres_init.c366 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
Dres_send.c1100 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
Dres_cache.c1967 .ai_socktype = SOCK_DGRAM, in _resolv_set_nameservers_for_net()