Searched refs:SOCK_DGRAM (Results 1 – 8 of 8) sorted by relevance
/bionic/libc/bionic/ |
D | if_nametoindex.c | 51 if ((ctl_sock = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) { in if_nametoindex()
|
D | if_indextoname.c | 51 if ((ctl_sock = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) { in if_indextoname()
|
D | libc_logging.cpp | 457 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in __libc_open_log_socket()
|
/bionic/libc/include/sys/ |
D | socket.h | 51 #define SOCK_DGRAM 1 macro 60 #define SOCK_DGRAM 2 macro
|
/bionic/libc/dns/net/ |
D | getaddrinfo.c | 178 { PF_INET6, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 }, 182 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 }, 185 { PF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 }, 365 int s = socket(pf, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); in _test_connect() 887 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null() 1171 case SOCK_DGRAM: in get_port() 1198 case SOCK_DGRAM: in get_port() 1795 sock = socket(addr->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); in _find_src_addr()
|
/bionic/libc/dns/resolv/ |
D | res_init.c | 365 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
|
D | res_send.c | 1064 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
|
D | res_cache.c | 1950 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in _resolv_set_nameservers_for_net()
|