Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 29) sorted by relevance

12

/bionic/libc/bionic/
Dsocket.cpp21 int socket(int domain, int type, int protocol) { in socket() function
22 return __netdClientDispatch.socket(domain, type, protocol); in socket()
Dsend.cpp31 ssize_t send(int socket, const void* buf, size_t len, int flags) __overloadable { in send() argument
32 return sendto(socket, buf, len, flags, NULL, 0); in send()
Drecv.cpp32 ssize_t recv(int socket, void *buf, size_t len, int flags) { in recv() argument
33 return recvfrom(socket, buf, len, flags, NULL, 0); in recv()
DNetdClient.cpp49 netdClientInitFunction(netdClientHandle, "netdClientInitSocket", &__netdClientDispatch.socket); in netdClientInitImpl()
Dnet_if.cpp48 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()
Dbionic_netlink.cpp63 fd_ = socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in SendRequest()
Dfortify.cpp221 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buf_size, in __recvfrom_chk() argument
224 return recvfrom(socket, buf, len, flags, src_addr, addrlen); in __recvfrom_chk()
227 ssize_t __sendto_chk(int socket, const void* buf, size_t len, size_t buflen, in __sendto_chk() argument
231 return sendto(socket, buf, len, flags, dest_addr, addrlen); in __sendto_chk()
Dsystem_properties.cpp481 socket_ = ::socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0); in PropertyServiceConnection()
514 int socket() { in socket() function in PropertyServiceConnection
580 if (writev(connection_->socket(), iov_, iov_index_) == -1) { in Send()
615 int s = connection.socket(); in send_prop_msg()
Dlibc_logging.cpp459 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0)); in __libc_open_log_socket()
/bionic/libc/private/
DNetdClientDispatch.h28 int (*socket)(int, int, int); member
/bionic/tools/bionicbb/
Dtasks.py20 import socket
88 except socket.error:
/bionic/libc/include/sys/
Dsocket.h317 __socketcall int socket(int, int, int);
386 ssize_t send(int socket, const void* buf, size_t len, int flags)
450 ssize_t recv(int socket, void* const buf __pass_object_size0, size_t len, in recv() argument
452 return recvfrom(socket, buf, len, flags, NULL, 0); in recv()
456 ssize_t send(int socket, const void* const buf __pass_object_size0, size_t len, int flags) in send() argument
458 return sendto(socket, buf, len, flags, NULL, 0); in send()
/bionic/tests/
Dsys_socket_test.cpp37 int fd = socket(PF_UNIX, SOCK_SEQPACKET | SOCK_CLOEXEC | SOCK_NONBLOCK, 0); in ConnectFn()
64 int fd = socket(PF_UNIX, SOCK_SEQPACKET, 0); in RunTest()
Difaddrs_test.cpp119 int fd = socket(AF_INET, SOCK_DGRAM, 0); in CheckAddressIsInSet()
/bionic/libc/
DSECCOMP_BLACKLIST.TXT24 # For example, socket() syscall on i386 actually becomes:
DSECCOMP_WHITELIST.TXT21 # For example, socket() syscall on i386 actually becomes:
DSYSCALLS.TXT20 # For example, socket() syscall on i386 actually becomes:
240 int __socket:socket(int, int, int) arm,arm64,mips,mips64,x86_64
Dlibc.mips64.map893 socket;
Dlibc.x86_64.map893 socket;
Dlibc.arm64.map893 socket;
Dlibc.x86.map948 socket;
/bionic/libc/dns/resolv/
Dres_send.c799 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()
1100 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
/bionic/libc/tools/
Dposix-2013.txt973 socket
/bionic/libc/dns/net/
Dgetaddrinfo.c878 s = socket(pai->ai_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in explore_null()
1800 sock = socket(addr->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, IPPROTO_UDP); in _find_src_addr()
Dgethnamaddr.c570 int s = socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0); in android_open_proxy()

12