Searched refs:SOCK_DGRAM (Results 1 – 10 of 10) sorted by relevance
/bionic/libc/bionic/ |
D | net_if.cpp | 48 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/ |
D | socket.h | 50 #define SOCK_DGRAM 1 macro 54 #define SOCK_DGRAM 2 macro
|
/bionic/tests/headers/posix/ |
D | sys_socket_h.c | 88 MACRO(SOCK_DGRAM); in sys_socket_h()
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 177 { 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/ |
D | ifaddrs_test.cpp | 119 int fd = socket(AF_INET, SOCK_DGRAM, 0); in CheckAddressIsInSet()
|
D | netdb_test.cpp | 60 } else if (p->ai_socktype == SOCK_DGRAM) { in TEST()
|
/bionic/libc/async_safe/ |
D | async_safe_log.cpp | 463 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in open_log_socket()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 366 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
|
D | res_send.c | 1090 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
|
D | res_cache.c | 2019 .ai_socktype = SOCK_DGRAM, in _resolv_set_nameservers_for_net()
|