Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 32) 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) { 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()
D__recvfrom_chk.cpp35 ssize_t __recvfrom_chk(int socket, void* buf, size_t len, size_t buflen, in __recvfrom_chk() argument
42 return recvfrom(socket, buf, len, flags, src_addr, addrlen); in __recvfrom_chk()
DNetdClient.cpp49 netdClientInitFunction(netdClientHandle, "netdClientInitSocket", &__netdClientDispatch.socket); in netdClientInitImpl()
Dbionic_netlink.cpp63 fd_ = socket(PF_NETLINK, SOCK_RAW | SOCK_CLOEXEC, NETLINK_ROUTE); in SendRequest()
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()
Dlibc_logging.cpp462 int log_fd = TEMP_FAILURE_RETRY(socket(PF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC, 0)); in __libc_open_log_socket()
Dsystem_properties.cpp535 const int fd = socket(AF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_prop_msg()
/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.h285 __socketcall int socket(int, int, int);
322 ssize_t recv(int socket, void* buf, size_t len, int flags) { in recv() argument
323 return recvfrom(socket, buf, len, flags, NULL, 0); in recv()
/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.cpp117 int fd = socket(AF_INET, SOCK_DGRAM, 0); in CheckAddressIsInSet()
/bionic/linker/
Ddebugger.cpp100 int s = socket(AF_LOCAL, type, 0); in socket_abstract_client()
/bionic/libc/dns/resolv/
Dres_send.c800 statp->_vcsock = socket(nsap->sa_family, SOCK_STREAM | SOCK_CLOEXEC, 0); in send_vc()
1101 EXT(statp).nssocks[ns] = socket(nsap->sa_family, SOCK_DGRAM | SOCK_CLOEXEC, 0); in send_dg()
/bionic/libc/
DSYSCALLS.TXT20 # For example, socket() syscall on i386 actually becomes:
240 int __socket:socket(int, int, int) arm,arm64,mips,mips64,x86_64
Dlibc.arm64.map900 socket;
Dlibc.mips64.map900 socket;
Dlibc.x86_64.map900 socket;
Dlibc.mips.brillo.map958 socket;
Dlibc.x86.brillo.map956 socket;
Dlibc.mips.map958 socket;
/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()

12