Lines Matching full:asocket
31 static void local_socket_close_locked(asocket *s);
48 static asocket local_socket_list = {
57 static asocket local_socket_closing_list = {
62 asocket *find_local_socket(unsigned id)
64 asocket *s;
65 asocket *result = NULL;
80 insert_local_socket(asocket* s, asocket* list)
89 void install_local_socket(asocket *s)
99 void remove_socket(asocket *s)
114 asocket *s;
130 static int local_socket_enqueue(asocket *s, apacket *p)
183 static void local_socket_ready(asocket *s)
191 static void local_socket_close(asocket *s)
199 static void local_socket_destroy(asocket *s)
227 static void local_socket_close_locked(asocket *s)
265 asocket *s = _s;
393 asocket *create_local_socket(int fd)
395 asocket *s = calloc(1, sizeof(asocket));
410 asocket *create_local_service_socket(const char *name)
412 asocket *s;
442 static asocket *create_host_service_socket(const char *name, const char* serial)
444 asocket *s;
461 asocket socket;
465 static int remote_socket_enqueue(asocket *s, apacket *p)
477 static void remote_socket_ready(asocket *s)
488 static void remote_socket_close(asocket *s)
510 asocket* s = _s;
511 asocket* peer = s->peer;
522 asocket *create_remote_socket(unsigned id, atransport *t)
524 asocket *s = calloc(1, sizeof(aremotesocket));
541 void connect_to_remote(asocket *s, const char *destination)
562 static void local_socket_ready_notify(asocket *s)
573 static void local_socket_close_notify(asocket *s)
655 static int smart_socket_enqueue(asocket *s, apacket *p)
731 asocket *s2;
828 static void smart_socket_ready(asocket *s)
833 static void smart_socket_close(asocket *s)
847 static asocket *create_smart_socket(void)
850 asocket *s = calloc(1, sizeof(asocket));
860 void connect_to_smartsocket(asocket *s)
863 asocket *ss = create_smart_socket();