Searched defs:asocket (Results 1 - 2 of 2) sorted by relevance

/system/core/include/cutils/
H A Dabort_socket.h31 * finish closing the socket and free the asocket structure.
41 * Using asocket will triple the number of file descriptors required per
58 struct asocket { struct
63 /* Create an asocket from fd.
67 struct asocket *asocket_init(int fd);
77 int asocket_connect(struct asocket *s, const struct sockaddr *addr,
80 int asocket_accept(struct asocket *s, struct sockaddr *addr,
83 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout);
85 int asocket_write(struct asocket *s, const void *buf, size_t count,
93 void asocket_abort(struct asocket *
[all...]
/system/core/adb/
H A Dadb.h40 typedef struct asocket asocket; typedef in typeref:struct:asocket
67 /* An asocket represents one half of a connection between a local and
68 ** remote entity. A local asocket is bound to a file descriptor. A
69 ** remote asocket is bound to the protocol engine.
71 struct asocket { struct
73 ** asockets that this asocket lives in
75 asocket *next;
76 asocket *prev;
78 /* the unique identifier for this asocket
[all...]

Completed in 52 milliseconds