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.h48 #define SOCK_DGRAM 1 macro
57 #define SOCK_DGRAM 2 macro
/bionic/libc/netbsd/net/
Dgetaddrinfo.c174 { 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/
Dsyslog.c312 if ((data->log_file = socket(AF_UNIX, SOCK_DGRAM, 0)) == -1) in connectlog_r()
/bionic/libc/netbsd/resolv/
Dres_init.c354 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __res_vinit()
Dres_send.c1053 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM, 0); in send_dg()
Dres_cache.c2103 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in _resolv_set_nameservers_for_iface()