Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 10 of 10) 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()
/bionic/libc/include/sys/
Dsocket.h50 #define SOCK_DGRAM 1 macro
54 #define SOCK_DGRAM 2 macro
/bionic/tests/headers/posix/
Dsys_socket_h.c88 MACRO(SOCK_DGRAM); in sys_socket_h()
/bionic/libc/dns/net/
Dgetaddrinfo.c177 { PF_INET6, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
181 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
184 { PF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
883 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null()
1167 case SOCK_DGRAM: in get_port()
1194 case SOCK_DGRAM: in get_port()
1805 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/async_safe/
Dasync_safe_log.cpp463 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in open_log_socket()
/bionic/libc/dns/resolv/
Dres_init.c366 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
Dres_send.c1090 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
Dres_cache.c2019 .ai_socktype = SOCK_DGRAM, in _resolv_set_nameservers_for_net()