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 | 52 if ((ctl_sock = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) { in if_indextoname()
|
/bionic/libc/include/sys/ |
D | socket.h | 48 #define SOCK_DGRAM 1 macro 57 #define SOCK_DGRAM 2 macro
|
/bionic/libc/netbsd/net/ |
D | getaddrinfo.c | 174 { PF_INET6, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 }, 178 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 }, 181 { PF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 }, 361 int s = socket(pf, SOCK_DGRAM, IPPROTO_UDP); in _test_connect() 879 s = socket(pai->ai_family, SOCK_DGRAM, 0); in explore_null() 1163 case SOCK_DGRAM: in get_port() 1190 case SOCK_DGRAM: in get_port() 1787 sock = socket(addr->sa_family, SOCK_DGRAM, IPPROTO_UDP); in _find_src_addr()
|
/bionic/libc/unistd/ |
D | syslog.c | 312 if ((data->log_file = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1) in connectlog_r()
|
/bionic/libc/netbsd/resolv/ |
D | res_init.c | 354 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
|
D | res_send.c | 1053 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM, 0); in send_dg()
|
D | res_cache.c | 2103 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in _resolv_set_nameservers_for_iface()
|