Home
last modified time | relevance | path

Searched refs:SOCK_DGRAM (Results 1 – 8 of 8) sorted by relevance

/bionic/libc/bionic/
Dif_nametoindex.c51 if ((ctl_sock = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) { in if_nametoindex()
Dif_indextoname.c52 if ((ctl_sock = socket(AF_INET, SOCK_DGRAM, 0)) >= 0) { in if_indextoname()
/bionic/libc/include/sys/
Dsocket.h38 #define SOCK_DGRAM 2 macro
/bionic/libc/netbsd/net/
Dgetaddrinfo.c171 { PF_INET6, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
175 { PF_INET, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
178 { PF_UNSPEC, SOCK_DGRAM, IPPROTO_UDP, "udp", 0x07 },
358 int s = socket(pf, SOCK_DGRAM, IPPROTO_UDP); in _test_connect()
882 s = socket(pai->ai_family, SOCK_DGRAM, 0); in explore_null()
1166 case SOCK_DGRAM: in get_port()
1193 case SOCK_DGRAM: in get_port()
1790 sock = socket(addr->sa_family, SOCK_DGRAM, IPPROTO_UDP); in _find_src_addr()
/bionic/libc/unistd/
Dsyslog.c312 if ((data->log_file = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1) in connectlog_r()
/bionic/libc/netbsd/resolv/
Dres_init.c362 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
466 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
Dres_send.c880 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM, 0); in send_dg()
Dres_cache.c1842 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in _resolv_set_nameservers_for_iface()