Searched refs:SOCK_DGRAM (Results 1 – 9 of 9) 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()
|
D | libc_logging.cpp | 459 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/ |
D | socket.h | 52 #define SOCK_DGRAM 1 macro 56 #define SOCK_DGRAM 2 macro
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 176 { 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/ |
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/dns/resolv/ |
D | res_init.c | 366 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
|
D | res_send.c | 1100 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
|
D | res_cache.c | 1967 .ai_socktype = SOCK_DGRAM, in _resolv_set_nameservers_for_net()
|