Searched defs:asocket (Results 1 - 2 of 2) sorted by relevance
/system/core/include/cutils/ |
H A D | abort_socket.h | 31 * 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 D | adb.h | 43 typedef struct asocket asocket; typedef in typeref:struct:asocket 70 /* An asocket represents one half of a connection between a local and 71 ** remote entity. A local asocket is bound to a file descriptor. A 72 ** remote asocket is bound to the protocol engine. 74 struct asocket { struct 76 ** asockets that this asocket lives in 78 asocket *next; 79 asocket *prev; 81 /* the unique identifier for this asocket [all...] |
Completed in 373 milliseconds