Lines Matching refs:asocket
36 struct asocket { struct
56 asocket* peer = nullptr; argument
76 int (*enqueue)(asocket* s, apacket::payload_type data) = nullptr; argument
81 void (*ready)(asocket* s) = nullptr; argument
87 void (*shutdown)(asocket* s) = nullptr; argument
93 void (*close)(asocket* s) = nullptr; argument
101 asocket *find_local_socket(unsigned local_id, unsigned remote_id); argument
102 void install_local_socket(asocket *s);
103 void remove_socket(asocket *s);
106 asocket* create_local_socket(unique_fd fd);
107 asocket* create_local_service_socket(std::string_view destination, atransport* transport);
109 asocket *create_remote_socket(unsigned id, atransport *t);
110 void connect_to_remote(asocket* s, std::string_view destination);
111 void connect_to_smartsocket(asocket *s);